]> code.ossystems Code Review - openembedded-core.git/commit
init-live: default to initrd shell if image isn't found
authorAlexandru DAMIAN <alexandru.damian@intel.com>
Tue, 18 Dec 2012 12:38:27 +0000 (14:38 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 19 Dec 2012 17:50:03 +0000 (17:50 +0000)
commit6f99e530822ac32f32615590e22a9758ac210e84
tree5ea4103e5e94d0d2b66396cfda85acd95f7e0861
parenta19592b684d482a7c011495f1c761f38c316319a
init-live: default to initrd shell if image isn't found

Adds "debugshell" command line parameter for live/install images.

If the init live fails to find and mount a root-fs image,
dumps to a shell after timeout so that the developer can figure
what's wrong.

Timeout defaults to 30 seconds, but it can be changed as param
argument.

Prior art in Ubuntu. Also, leaving a system stale isn't good form.

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-core/initrdscripts/files/init-live.sh