summaryrefslogtreecommitdiffstats
path: root/rescue.py
diff options
context:
space:
mode:
Diffstat (limited to 'rescue.py')
-rw-r--r--rescue.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/rescue.py b/rescue.py
index 6938e354b..707f3bea4 100644
--- a/rescue.py
+++ b/rescue.py
@@ -339,6 +339,9 @@ def runRescue(anaconda, instClass):
except Exception, e:
log.error("error mounting selinuxfs: %s" %(e,))
+ fd = open("%s/.autorelabel" % anaconda.rootPath, "w+")
+ fd.close()
+
# set a library path to use mounted fs
os.environ["LD_LIBRARY_PATH"] = "/lib:/usr/lib:/usr/X11R6/lib:/lib:/mnt/usr/lib:/mnt/sysimage/lib:/mnt/sysimage/usr/lib:/mnt/sysimage/usr/X11R6/lib"