]> code.ossystems Code Review - openembedded-core.git/commit
initramfs-boot: create /dev/console
authorJacob Kroon <jacob.kroon@gmail.com>
Tue, 25 Dec 2018 09:20:34 +0000 (10:20 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 11 Jan 2019 10:38:21 +0000 (10:38 +0000)
commit490d6fbd14805b6c72b525fbe8c9c6e08d796597
treeb21257a244b1b8152f35bd28c6381f36d185159e
parentc4a931df28f45f95f19a13062b8dc38db60da342
initramfs-boot: create /dev/console

The Yocto kernel expects a proper /dev/console to exist before running init,
otherwise booting will fail with the message:

  Kernel panic - not syncing: /dev/console is missing or not a character device!
  Please ensure your rootfs is properly configured

Add similar fix as was done for initramfs-framework and initramfs-live-boot
in commits

  0352841cd92f6316bcac092e2fff9d28c352b36b
  1b64664f0c388f41084f5db6e46e3e68c53fb6d9

Signed-off-by: Jacob Kroon <jacob.kroon@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/initrdscripts/initramfs-boot_1.0.bb