tell halt to power off to avoid kernel panic message
authorLudwig Nussel <ludwig.nussel@suse.de>
Thu, 26 Jun 2008 13:59:37 +0000 (13:59 +0000)
committerLudwig Nussel <ludwig.nussel@suse.de>
Thu, 26 Jun 2008 13:59:37 +0000 (13:59 +0000)
build

diff --git a/build b/build
index 4119ed6..9712642 100755 (executable)
--- a/build
+++ b/build
@@ -170,8 +170,8 @@ cleanup_and_exit () {
        exec >&0 2>&0   # so that the logging tee finishes
        sleep 1         # wait till tee terminates
        kill -9 -1      # goodbye cruel world
-       exec /bin/bash -c 'mount -n -o remount,ro / ; halt -f'
-       halt -f
+       exec /bin/bash -c 'mount -n -o remount,ro / ; halt -f -p'
+       halt -f -p
     else
        umount -n $BUILD_ROOT/proc 2>/dev/null || true
        umount -n $BUILD_ROOT/dev/pts 2>/dev/null || true