summaryrefslogtreecommitdiffstats
path: root/packages.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2002-07-25 12:33:55 +0000
committerMatt Wilson <msw@redhat.com>2002-07-25 12:33:55 +0000
commita2709261ff2f90b9c9b95d02a12a9dbe7e9bff8c (patch)
tree27b326ab55e01ce58b49e44a0b2a605054cac5a9 /packages.py
parent0fbcf4aa933c85b1f74d1c95289b45de427a3116 (diff)
downloadanaconda-a2709261ff2f90b9c9b95d02a12a9dbe7e9bff8c.tar.gz
anaconda-a2709261ff2f90b9c9b95d02a12a9dbe7e9bff8c.tar.xz
anaconda-a2709261ff2f90b9c9b95d02a12a9dbe7e9bff8c.zip
remove symlink so we don't fail on the second pass through preinstall -- there may be other bugs here. (#69783)
Diffstat (limited to 'packages.py')
-rw-r--r--packages.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages.py b/packages.py
index a1e4d88b7..ad853e9a1 100644
--- a/packages.py
+++ b/packages.py
@@ -676,6 +676,10 @@ def doInstall(method, id, intf, instPath):
# restore old fstab if we did anything for migrating
if upgrade:
id.fsset.restoreMigratedFstab(instPath)
+
+ # remove the symlink we made so we can do it again on next round
+ # of preinstall
+ os.unlink("/mnt/sysimage/var/tmp")
spaceneeded = {}
nodeneeded = {}