summaryrefslogtreecommitdiffstats
path: root/liveinst/liveinst.sh
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2007-10-30 20:19:53 +0000
committerJeremy Katz <katzj@redhat.com>2007-10-30 20:19:53 +0000
commit726a485e58706b70c8fb2b9d4febe938a7c88963 (patch)
tree4cf540610416977a98e35a8e369051ab5765ffe3 /liveinst/liveinst.sh
parent84761385ffac6aaaad006c291588bf8ccbccb4ba (diff)
downloadanaconda-726a485e58706b70c8fb2b9d4febe938a7c88963.tar.gz
anaconda-726a485e58706b70c8fb2b9d4febe938a7c88963.tar.xz
anaconda-726a485e58706b70c8fb2b9d4febe938a7c88963.zip
* liveinst/liveinst.sh (ANACONDA): Turn off swap and lvm earlier
to avoid dmraid funkiness (#357401)
Diffstat (limited to 'liveinst/liveinst.sh')
-rw-r--r--liveinst/liveinst.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/liveinst/liveinst.sh b/liveinst/liveinst.sh
index 2f732715d..f4d9dd6a5 100644
--- a/liveinst/liveinst.sh
+++ b/liveinst/liveinst.sh
@@ -37,6 +37,9 @@ if [ -x /usr/sbin/setenforce -a -e /selinux/enforce ]; then
/usr/sbin/setenforce 0
fi
+/usr/sbin/swapoff -a
+/sbin/lvm vgchange -an --ignorelockingfailure
+
if [ -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