Don't create mtab symlink, already exists

Resolves: #671155
This commit is contained in:
Martin Gracik 2011-01-21 11:18:16 +01:00
parent f5ac972e92
commit d264eb3ed8

View File

@ -403,9 +403,9 @@ class LoraxInstallTree(BaseLoraxClass):
os.unlink(name)
# mtab symlink
target = "/proc/mounts"
name = joinpaths(self.root, "etc", "mtab")
os.symlink(target, name)
#target = "/proc/mounts"
#name = joinpaths(self.root, "etc", "mtab")
#os.symlink(target, name)
# create resolv.conf
touch(joinpaths(self.root, "etc", "resolv.conf"))