diff options
| author | Waldemar Brodkorb <wbx@openadk.org> | 2020-09-07 08:01:21 +0200 |
|---|---|---|
| committer | Waldemar Brodkorb <wbx@openadk.org> | 2020-09-07 08:02:12 +0200 |
| commit | c7117b4649a63bb51053c943030b30d85b3fe54d (patch) | |
| tree | daf671fc12d6d53167125ce09df11e23f34f8fd9 /target/linux/patches/5.4.63/startup.patch | |
| parent | f94d87f1d3be34136b3ec6d95b89eacff8cea934 (diff) | |
linux: update 5.4.x kernel
Diffstat (limited to 'target/linux/patches/5.4.63/startup.patch')
| -rw-r--r-- | target/linux/patches/5.4.63/startup.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/target/linux/patches/5.4.63/startup.patch b/target/linux/patches/5.4.63/startup.patch new file mode 100644 index 000000000..7c6c5661a --- /dev/null +++ b/target/linux/patches/5.4.63/startup.patch @@ -0,0 +1,21 @@ +diff -Nur linux-5.4.53.orig/init/main.c linux-5.4.53/init/main.c +--- linux-5.4.53.orig/init/main.c 2020-07-22 09:33:18.000000000 +0200 ++++ linux-5.4.53/init/main.c 2020-07-28 17:33:28.000000000 +0200 +@@ -1196,6 +1196,8 @@ + if (ksys_open((const char __user *) "/dev/console", O_RDWR, 0) < 0) + pr_err("Warning: unable to open an initial console.\n"); + ++ printk(KERN_WARNING "Starting Linux (built with OpenADK).\n"); ++ + (void) ksys_dup(0); + (void) ksys_dup(0); + /* +@@ -1204,7 +1206,7 @@ + */ + + if (!ramdisk_execute_command) +- ramdisk_execute_command = "/init"; ++ ramdisk_execute_command = "/sbin/init"; + + if (ksys_access((const char __user *) + ramdisk_execute_command, 0) != 0) { |
