123456789101112131415161718192021 |
- 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) {
|