From patchwork Tue Oct 2 15:56:05 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Revert "initrd: Spawn an emergency shell when something goes wrong" Date: Tue, 02 Oct 2012 15:56:05 -0000 From: Ross Burton X-Patchwork-Id: 37623 Message-Id: <1349193366-6632-1-git-send-email-ross.burton@intel.com> To: openembedded-core@lists.openembedded.org This had nowhere near enough testing... This reverts commit ffb6928f5783e5202d9849c3a185e29be1d41c63. Signed-off-by: Ross Burton --- meta/recipes-core/initrdscripts/files/init-live.sh | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/meta/recipes-core/initrdscripts/files/init-live.sh b/meta/recipes-core/initrdscripts/files/init-live.sh index 2639308..5682fd1 100644 --- a/meta/recipes-core/initrdscripts/files/init-live.sh +++ b/meta/recipes-core/initrdscripts/files/init-live.sh @@ -2,17 +2,6 @@ PATH=/sbin:/bin:/usr/sbin:/usr/bin -emergency_shell() -{ - echo "Bug in initramfs /init detected. Dropping to a shell. Good luck!" - echo - sh -} -trap "emergency_shell" 0 2 - -# exit immediately if a command fails -set -e - ROOT_MOUNT="/rootfs/" ROOT_IMAGE="rootfs.img" MOUNT="/bin/mount"