From: Ludwig Nussel Date: Thu, 26 Jun 2008 13:59:37 +0000 (+0000) Subject: tell halt to power off to avoid kernel panic message X-Git-Tag: obs_2.0~366 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=64a196f11598cca941ab3d7f4e49a0731fb9eaf2;p=tools%2Fobs-build.git tell halt to power off to avoid kernel panic message --- diff --git a/build b/build index 4119ed6..9712642 100755 --- 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