[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH] Inhibit devkit-disks during a live install



Looks good,

Regards,

Hans


Jeremy Katz wrote:
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 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/liveinst/liveinst.sh b/liveinst/liveinst.sh
index 744a2b9..cdba58f 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 $*


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]