generic-poky/meta/recipes-core/initrdscripts
Patrick Ohly d6e40e80d1 initramfs-framework: better error reporting for invalid root boot parameter
When the "boot" parameter refers to a non-existent device, the only
visible output at normal log levels was a rather confusing:
   ERROR: There's no '/dev' on rootfs.

That's because the actual error, not being able to find the root
device, was only a debug message, which gets ignored in the default
mode.

Promoting the "root '$bootparam_root' doesn't exist." message from
"debug" to "msg" gives sufficient context to understand the error. A
more intrusive change would be to change also the control flow.

(From OE-Core rev: 71d7803e5b13e26fd8001e87cfbac68114ddaa30)

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2015-09-23 09:52:59 +01:00
..
files init-install-efi.sh: Avoid /mnt/mtab creation if already present 2015-09-18 09:05:21 +01:00
initramfs-framework initramfs-framework: better error reporting for invalid root boot parameter 2015-09-23 09:52:59 +01:00
initramfs-boot_1.0.bb meta: set proper S value 2015-01-23 11:36:27 +00:00
initramfs-framework_1.0.bb initramfs-framework: create /dev/console 2015-09-06 15:26:24 +01:00
initramfs-live-boot_1.0.bb initramfs-live-boot: create /dev/console 2015-09-06 15:26:24 +01:00
initramfs-live-install-efi-testfs_1.0.bb meta: set proper S value 2015-01-23 11:36:27 +00:00
initramfs-live-install-efi_1.0.bb initramfs-live-install: Add blkid to initramfs 2015-06-23 11:47:22 +01:00
initramfs-live-install-testfs_1.0.bb meta: set proper S value 2015-01-23 11:36:27 +00:00
initramfs-live-install_1.0.bb initramfs-live-install: Add blkid to initramfs 2015-06-23 11:47:22 +01:00