summaryrefslogtreecommitdiffstats
path: root/livecd.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2007-09-20 14:59:27 +0000
committerJeremy Katz <katzj@redhat.com>2007-09-20 14:59:27 +0000
commitb593617596eeb3a660f401bf4bd153bedf01d11a (patch)
treedd51f1dafb6896731147ce0779ebeda043b3e8c4 /livecd.py
parent6eab22506dbf8fb0cd380c81347cb9a59ad7d2da (diff)
downloadanaconda-b593617596eeb3a660f401bf4bd153bedf01d11a.tar.gz
anaconda-b593617596eeb3a660f401bf4bd153bedf01d11a.tar.xz
anaconda-b593617596eeb3a660f401bf4bd153bedf01d11a.zip
2007-09-20 Jeremy Katz <katzj@redhat.com>
* livecd.py (LiveCDCopyBackend._doFilesystemMangling): Set label consistently with how it's normally set to avoid labeling lvm (#297391) * fsset.py (FileSystemSet.labelEntry): Allow ignoring existing label
Diffstat (limited to 'livecd.py')
-rw-r--r--livecd.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/livecd.py b/livecd.py
index 28601ed0d..6f93bd789 100644
--- a/livecd.py
+++ b/livecd.py
@@ -208,8 +208,8 @@ class LiveCDCopyBackend(backend.AnacondaBackend):
anaconda.id.fsset.mountFilesystems(anaconda)
# restore the label of / to what we think it is (XXX: UUID?)
- r = anaconda.id.fsset.getEntryByMountPoint("/")
- r.fsystem.labelDevice(r, anaconda.rootPath)
+ r = anaconda.id.fsset.getEntryByMountPoint("/")
+ anaconda.id.fsset.labelEntry(r, anaconda.rootPath, True)
# for any filesystem that's _not_ on the root, we need to handle
# moving the bits from the livecd -> the real filesystems.