From 52c09f0f6c6fcf6e81ee4fc7b2db225c3c950ecf Mon Sep 17 00:00:00 2001 From: Phil Sutter Date: Fri, 29 Oct 2021 23:30:45 +0200 Subject: 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 --- target/linux/patches/4.16.17/startup.patch | 9 --------- 1 file changed, 9 deletions(-) (limited to 'target/linux/patches/4.16.17/startup.patch') diff --git a/target/linux/patches/4.16.17/startup.patch b/target/linux/patches/4.16.17/startup.patch index 8115b2cc6..e8de6cd4b 100644 --- a/target/linux/patches/4.16.17/startup.patch +++ b/target/linux/patches/4.16.17/startup.patch @@ -23,12 +23,3 @@ diff -Nur linux-4.15.13.orig/init/main.c linux-4.15.13/init/main.c (void) sys_dup(0); (void) sys_dup(0); /* -@@ -1083,7 +1085,7 @@ - */ - - if (!ramdisk_execute_command) -- ramdisk_execute_command = "/init"; -+ ramdisk_execute_command = "/sbin/init"; - - if (sys_access((const char __user *) ramdisk_execute_command, 0) != 0) { - ramdisk_execute_command = NULL; -- cgit v1.2.3