projects
/
tools
/
obs-build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2fb689
)
tell halt to power off to avoid kernel panic message
author
Ludwig Nussel
<ludwig.nussel@suse.de>
Thu, 26 Jun 2008 13:59:37 +0000
(13:59 +0000)
committer
Ludwig Nussel
<ludwig.nussel@suse.de>
Thu, 26 Jun 2008 13:59:37 +0000
(13:59 +0000)
build
patch
|
blob
|
history
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