[PATCH 2/5] Check for live install before doing live-specific umounts.

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

 



---
 scripts/anaconda-cleanup |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/anaconda-cleanup b/scripts/anaconda-cleanup
index 4af96c5..42ef1b2 100755
--- a/scripts/anaconda-cleanup
+++ b/scripts/anaconda-cleanup
@@ -78,7 +78,7 @@ for mounted in reversed(open("/proc/mounts").readlines()):
     # If this is for a live install, unmount any non-nodev filesystem that
     # isn't related to the live image.
     if (mountpoint.startswith("/media") or device.startswith("/dev")) and \
-       not "live" in mounted:
+       live_install and not "live" in mounted:
         os.system("umount %s" % mountpoint)
 
 os.system("udevadm control --env=ANACONDA=1")
-- 
1.7.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux