check if xz is installed on the host
[openadk.git] / target / linux / patches / 5.10.216 / startup.patch
blobeef4810212a25ff09025460165385bdd1eae5ec7
1 diff -Nur linux-5.10.17.orig/init/initramfs.c linux-5.10.17/init/initramfs.c
2 --- linux-5.10.17.orig/init/initramfs.c 2021-02-17 11:02:30.000000000 +0100
3 +++ linux-5.10.17/init/initramfs.c 2021-02-23 13:27:40.449467155 +0100
4 @@ -636,6 +636,9 @@
5 initrd_start = 0;
6 initrd_end = 0;
8 +#ifdef CONFIG_DEVTMPFS_MOUNT
9 + devtmpfs_mount();
10 +#endif
11 flush_delayed_fput();
12 return 0;
14 diff -Nur linux-5.10.17.orig/init/main.c linux-5.10.17/init/main.c
15 --- linux-5.10.17.orig/init/main.c 2021-02-17 11:02:30.000000000 +0100
16 +++ linux-5.10.17/init/main.c 2021-02-23 13:39:32.238650450 +0100
17 @@ -1483,6 +1483,8 @@
18 pr_err("Warning: unable to open an initial console.\n");
19 return;
21 + printk(KERN_WARNING "Starting Linux (built with OpenADK).\n");
23 init_dup(file);
24 init_dup(file);
25 init_dup(file);