diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-12-06 02:26:16 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-12-06 02:26:16 +0000 |
commit | 60961f063b481ed5bd94212a4f22d4c8f61c4997 (patch) | |
tree | 5dec37d9e4fe21e94edd2e723b732708c07e689f /fsset.py | |
parent | 5d4f653a0980c9eccec859384e67f470325c29e9 (diff) | |
download | anaconda-60961f063b481ed5bd94212a4f22d4c8f61c4997.tar.gz anaconda-60961f063b481ed5bd94212a4f22d4c8f61c4997.tar.xz anaconda-60961f063b481ed5bd94212a4f22d4c8f61c4997.zip |
make sure dmnode exists in the chroot too
Diffstat (limited to 'fsset.py')
-rw-r--r-- | fsset.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1456,10 +1456,10 @@ class FileSystemSet: rootDev = "/dev/%s" % (root.device.getDevice(),) rootdir = instPath + rootDev[:string.rfind(rootDev, "/")] + if not os.path.exists(instPath + "/dev/mapper/control"): + iutil.makeDMNode(root=instPath) if not os.path.isdir(rootdir): os.makedirs(rootdir) - if not os.path.isdir(instPath + "/dev/mapper"): - os.makedirs(instPath + "/dev/mapper") dmdev = "/dev/mapper/" + root.device.getDevice().replace("/", "-") iutil.copyDeviceNode(dmdev, instPath + dmdev) os.symlink(dmdev, instPath + rootDev) |