From 582dfa9e781a172765b5c2f9ce770a41bac77e68 Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Thu, 19 Mar 2009 12:55:06 -0400 Subject: Inhibit devkit-disks during a live install This is a bit of a big hammer, but disable devkit-disks from touching things during a live install until we can do something a little bit more fine-grained --- liveinst/liveinst.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'liveinst') diff --git a/liveinst/liveinst.sh b/liveinst/liveinst.sh index 744a2b9bd..cdba58f03 100644 --- a/liveinst/liveinst.sh +++ b/liveinst/liveinst.sh @@ -61,7 +61,9 @@ umount /media/* /sbin/swapoff -a /sbin/lvm vgchange -an --ignorelockingfailure -if [ -x /usr/bin/hal-lock -a -e /var/lock/subsys/haldaemon ]; then +if [ -x /usr/bin/devkit-disks ]; then + /usr/bin/devkit-disks --inhibit -- /usr/bin/hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusive --run "$ANACONDA $*" +elif [ -x /usr/bin/hal-lock -a -e /var/lock/subsys/haldaemon ]; then /usr/bin/hal-lock --interface org.freedesktop.Hal.Device.Storage --exclusive --run "$ANACONDA $*" else $ANACONDA $* -- cgit