diff options
author | Damien Lespiau <damien.lespiau@intel.com> | 2012-09-27 15:20:50 +0100 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2012-09-28 01:14:02 -0700 |
commit | ae5e2bd994e3f60d3803ab56e6ed34d08fbc56f0 (patch) | |
tree | d28a987d0e18ccc26554c1b305f7ab2060f7c0ca /meta/recipes-core/expat | |
parent | 03ad4edace5db9c6e15ca776d06d20b7d4e42afc (diff) | |
download | openembedded-core-ae5e2bd994e3f60d3803ab56e6ed34d08fbc56f0.tar.gz openembedded-core-ae5e2bd994e3f60d3803ab56e6ed34d08fbc56f0.tar.bz2 openembedded-core-ae5e2bd994e3f60d3803ab56e6ed34d08fbc56f0.zip |
initrd: Spawn an emergency shell when something goes wrong
set -e allows to exit if a command fails. We install a trap and execute
emergency_shell() when either the init script exits or when ctrl-c is
typed (say if we are stuck somewhere and we want to debug it).
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-core/expat')
0 files changed, 0 insertions, 0 deletions