diff options
author | Patrick Ohly <patrick.ohly@intel.com> | 2015-09-18 13:49:21 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-09-21 15:39:31 +0100 |
commit | 2a4335eae4b31ea9451a665dad2ba33ae4967670 (patch) | |
tree | 72fbfd160e393af0bbc6ff3563d8f5eb4dad0835 /meta | |
parent | 598c9660f26018a748a4749377389ced7eab2229 (diff) | |
download | openembedded-core-2a4335eae4b31ea9451a665dad2ba33ae4967670.tar.gz openembedded-core-2a4335eae4b31ea9451a665dad2ba33ae4967670.tar.bz2 openembedded-core-2a4335eae4b31ea9451a665dad2ba33ae4967670.zip |
initramfs-framework: fix "support dropping into shell on failure"
Due to a missing $ before the variable name, all fatal errors ended up
invoking a shell, instead of only doing that when init_fatal_sh is set
as boot parameter.
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta')
-rwxr-xr-x | meta/recipes-core/initrdscripts/initramfs-framework/init | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/initrdscripts/initramfs-framework/init b/meta/recipes-core/initrdscripts/initramfs-framework/init index 9291ad5c21..204f2379a5 100755 --- a/meta/recipes-core/initrdscripts/initramfs-framework/init +++ b/meta/recipes-core/initrdscripts/initramfs-framework/init @@ -58,7 +58,7 @@ fatal() { echo $1 >/dev/console echo >/dev/console - if [ -n "bootparam_init_fatal_sh" ]; then + if [ -n "$bootparam_init_fatal_sh" ]; then sh else while [ "true" ]; do |