* "break=<phase>" boot option, previously lead to the overrided panic
function which shows a huge bug message info, which in that particular
case is misleading, since the "dropping to a shell" is wanted.
Signed-off-by: Marco Amadori <amadorim@vdavda.com>
+# Override maybe_break from scripts/functions
+maybe_break()
+{
+ if [ "${break}" = "$1" ]; then
+ # Call original panic
+ . /scripts/functions
+ panic "Spawning shell within the initramfs"
+ fi
+}
+
# Override panic from scripts/functions
panic() {
# Override panic from scripts/functions
panic() {