diff options
author | Chris Lumens <clumens@redhat.com> | 2009-04-15 15:01:01 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2009-04-16 09:36:13 -0400 |
commit | a3f34535549c4c3277966d16f4084c5aab9cf94b (patch) | |
tree | c95196b90b8db52be3aeab210ea6694c256c6191 /rescue.py | |
parent | ea4e8ffea9692624769c4a8a1a65d141ef92d43e (diff) | |
download | anaconda-a3f34535549c4c3277966d16f4084c5aab9cf94b.tar.gz anaconda-a3f34535549c4c3277966d16f4084c5aab9cf94b.tar.xz anaconda-a3f34535549c4c3277966d16f4084c5aab9cf94b.zip |
Touch /.autorelabel when running under rescue mode (#491747).
Diffstat (limited to 'rescue.py')
-rw-r--r-- | rescue.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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" |