* [PATCH] Revert "initrd: Spawn an emergency shell when something goes wrong"
@ 2012-10-02 15:56 Ross Burton
2012-10-03 1:46 ` Saul Wold
0 siblings, 1 reply; 2+ messages in thread
From: Ross Burton @ 2012-10-02 15:56 UTC (permalink / raw)
To: openembedded-core
This had nowhere near enough testing...
This reverts commit ffb6928f5783e5202d9849c3a185e29be1d41c63.
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
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"
--
1.7.10
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Revert "initrd: Spawn an emergency shell when something goes wrong"
2012-10-02 15:56 [PATCH] Revert "initrd: Spawn an emergency shell when something goes wrong" Ross Burton
@ 2012-10-03 1:46 ` Saul Wold
0 siblings, 0 replies; 2+ messages in thread
From: Saul Wold @ 2012-10-03 1:46 UTC (permalink / raw)
To: Ross Burton; +Cc: openembedded-core
On 10/02/2012 08:56 AM, Ross Burton wrote:
> This had nowhere near enough testing...
>
> This reverts commit ffb6928f5783e5202d9849c3a185e29be1d41c63.
>
> Signed-off-by: Ross Burton <ross.burton@intel.com>
> ---
> 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"
>
Merged into OE-Core
Thanks
Sau!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-10-03 1:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-02 15:56 [PATCH] Revert "initrd: Spawn an emergency shell when something goes wrong" Ross Burton
2012-10-03 1:46 ` Saul Wold
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox