summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2009-11-09 10:59:18 -0500
committerPeter Jones <pjones@redhat.com>2009-11-09 13:16:24 -0500
commit0e2946a31615b51f9e4ef661a3d83582195200f6 (patch)
treea51b83b2d8b83fc309673698266a0f58355e26bf /scripts
parent78899f07647a5ca7bc40c86434160ed53433e777 (diff)
downloadanaconda-0e2946a31615b51f9e4ef661a3d83582195200f6.tar.gz
anaconda-0e2946a31615b51f9e4ef661a3d83582195200f6.tar.xz
anaconda-0e2946a31615b51f9e4ef661a3d83582195200f6.zip
Include the command line to put anaconda into debugger mode in history.
Things being in the history means I don't have to type them. This particular thing is fairly specific to get right, so it's a really good candidate to go in there. So this patch adds it. This also changes the "killall" that's already there to use the pid file, so we know which process it'll pick.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/mk-images3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/mk-images b/scripts/mk-images
index 998c30f68..d8e94f56f 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -843,7 +843,8 @@ export PATH PS1
EOF
cat > $MBD_DIR/.bash_history <<EOF
-killall -USR2 anaconda
+kill -USR2 `cat /var/run/anaconda.pid`
+kill -HUP `cat /var/run/anaconda.pid`
EOF
rm -f $MBD_FSIMAGE