summaryrefslogtreecommitdiff
path: root/target/linux/patches/5.10.75/startup.patch
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2021-10-29 23:30:45 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2021-10-30 17:47:43 +0200
commit52c09f0f6c6fcf6e81ee4fc7b2db225c3c950ecf (patch)
treef0c7652bf30dffe99736f065130b045ff702e9ad /target/linux/patches/5.10.75/startup.patch
parent9c7ea14b1c7a0ae00ce4de2075d5cdcf336d6024 (diff)
target: linux: patches: Drop initramfs startup hack
No need to change the initramfs 'init' binary location in kernels anymore, image.mk adds a symlink from /init to /sbin/init to cover for that. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'target/linux/patches/5.10.75/startup.patch')
-rw-r--r--target/linux/patches/5.10.75/startup.patch9
1 files changed, 0 insertions, 9 deletions
diff --git a/target/linux/patches/5.10.75/startup.patch b/target/linux/patches/5.10.75/startup.patch
index 26583ff21..eef481021 100644
--- a/target/linux/patches/5.10.75/startup.patch
+++ b/target/linux/patches/5.10.75/startup.patch
@@ -14,15 +14,6 @@ diff -Nur linux-5.10.17.orig/init/initramfs.c linux-5.10.17/init/initramfs.c
diff -Nur linux-5.10.17.orig/init/main.c linux-5.10.17/init/main.c
--- linux-5.10.17.orig/init/main.c 2021-02-17 11:02:30.000000000 +0100
+++ linux-5.10.17/init/main.c 2021-02-23 13:39:32.238650450 +0100
-@@ -158,7 +158,7 @@
- #endif
-
- static char *execute_command;
--static char *ramdisk_execute_command = "/init";
-+static char *ramdisk_execute_command = "/sbin/init";
-
- /*
- * Used to generate warnings if static_key manipulation functions are used
@@ -1483,6 +1483,8 @@
pr_err("Warning: unable to open an initial console.\n");
return;