Re: [linux-yocto] [PATCH] don't check console device file on fs when booting with initrd/initramfs

2019-02-07 Thread Bruce Ashfield
On Wed, Feb 6, 2019 at 8:10 AM Alexey Brodkin wrote: > > In case of initrd/initramfs /dev/console might not exist that early > as devtmpfs is mounted a bit later by /init process so disable this > check in that case. That's a reasonable tweak to the console check. I've applied the patch to 4.19

[linux-yocto] [PATCH] don't check console device file on fs when booting with initrd/initramfs

2019-02-06 Thread Alexey Brodkin
In case of initrd/initramfs /dev/console might not exist that early as devtmpfs is mounted a bit later by /init process so disable this check in that case. Signed-off-by: Alexey Brodkin --- init/main.c | 10 +- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/init/main.c