diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2020-10-02 13:17:19 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2020-10-02 13:17:19 +0200 |
commit | 3d3f4416fc05c413a79a8fdd3abf872c215a4668 (patch) | |
tree | f25058674819998d4839fa5d5c366fd3381a93e6 /target/linux/patches/5.4.69/startup.patch | |
parent | 131e14ae7c0eed0d560df5b886785c262e549ce3 (diff) |
linux: bump linux kernel versions
Diffstat (limited to 'target/linux/patches/5.4.69/startup.patch')
-rw-r--r-- | target/linux/patches/5.4.69/startup.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/target/linux/patches/5.4.69/startup.patch b/target/linux/patches/5.4.69/startup.patch new file mode 100644 index 000000000..7c6c5661a --- /dev/null +++ b/target/linux/patches/5.4.69/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) { |