]> code.ossystems Code Review - openembedded-core.git/commit
initramfs-framework: support dropping into shell on failure
authorPatrick Ohly <patrick.ohly@intel.com>
Mon, 7 Sep 2015 11:16:38 +0000 (13:16 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 12 Sep 2015 21:47:20 +0000 (22:47 +0100)
commit1d3dc681e809846dba7cae4f81566045a3f8c205
treecb01a9b38badb40c59c9373bed2dcaa566a3c468
parentdfd6d4c765924f472ac2df724342547b5c15249a
initramfs-framework: support dropping into shell on failure

When the init_fatal_sh boot parameter is present (i.e. used without
value) and a fatal problem occurs inside the initramfs-module, a shell
will be started instead of looping forever.

Useful for debugging.

Interestingly enough, the code was already indented to support such an
if check...

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/initrdscripts/initramfs-framework/init