summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormaximilian attems <max@dual.(none)>2007-09-01 10:48:03 +0200
committermaximilian attems <max@dual.(none)>2007-09-01 10:48:03 +0200
commit928ed0689705f52a757e23478783b4ade1423944 (patch)
tree6be22d2739756e52bd2c3f1fdba828500ecdec4f
parentf26697d21e617646da61bed3c88e48be1d781cf5 (diff)
downloadinitramfs-tools-928ed0689705f52a757e23478783b4ade1423944.tar.gz
initramfs-tools-928ed0689705f52a757e23478783b4ade1423944.zip
init: call panic if run-init fails
-rw-r--r--debian/changelog3
-rwxr-xr-xinit1
2 files changed, 3 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 07bf916..36a3b81 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,8 +8,9 @@ initramfs-tools (0.91) UNRELEASED; urgency=low
* mkinitramfs: Kill kinit.shared too.
* scripts/local: Quote readonly variable. (LP: #115807)
* mkinitramfs, scripts/keymap: Add trailing slash on cp destination for dir.
+ * init: Call panic for debug sh if run-init fails.
- -- maximilian attems <maks@debian.org> Mon, 27 Aug 2007 10:09:25 +0200
+ -- maximilian attems <maks@debian.org> Sat, 01 Sep 2007 10:45:04 +0200
initramfs-tools (0.90a) unstable; urgency=high
diff --git a/init b/init
index 3ea9ef4..53c228a 100755
--- a/init
+++ b/init
@@ -186,3 +186,4 @@ fi
# Chain to real filesystem
maybe_break init
exec run-init ${rootmnt} ${init} "$@" <${rootmnt}/dev/console >${rootmnt}/dev/console
+panic "Could not execute run-init."