[OE-core] [PATCH 2/2] initramfs-framework: better error reporting for invalid root boot parameter
Otavio Salvador
otavio.salvador at ossystems.com.br
Fri Sep 18 17:41:13 UTC 2015
On Fri, Sep 18, 2015 at 8:49 AM, Patrick Ohly <patrick.ohly at intel.com> wrote:
> 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.
>
> Signed-off-by: Patrick Ohly <patrick.ohly at intel.com>
Acked-by: Otavio Salvador <otavio at ossystems.com.br>
--
Otavio Salvador O.S. Systems
http://www.ossystems.com.br http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
More information about the Openembedded-core
mailing list