summaryrefslogtreecommitdiffstats
path: root/livecd.py
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2008-04-11 14:50:20 -0400
committerBill Nottingham <notting@redhat.com>2008-04-11 14:50:20 -0400
commit1e88c4a39e6e836b8254de72bdd40f7caf02aac2 (patch)
tree937963f30e1528c4de1273da17702dad560c748b /livecd.py
parentf9efecacdb063e9170e644826291402121093af9 (diff)
downloadanaconda-1e88c4a39e6e836b8254de72bdd40f7caf02aac2.tar.gz
anaconda-1e88c4a39e6e836b8254de72bdd40f7caf02aac2.tar.xz
anaconda-1e88c4a39e6e836b8254de72bdd40f7caf02aac2.zip
Pass the full device path
Diffstat (limited to 'livecd.py')
-rw-r--r--livecd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/livecd.py b/livecd.py
index 922af8d28..ad5a64bf5 100644
--- a/livecd.py
+++ b/livecd.py
@@ -214,7 +214,7 @@ class LiveCDCopyBackend(backend.AnacondaBackend):
anaconda.id.fsset.labelEntry(r, anaconda.rootPath, True)
# ensure we have a random UUID on the rootfs
# FIXME: this should be abstracted per filesystem type
- iutil.execWithRedirect("tune2fs", ["-U", "random", r.device.getDevice()],
+ iutil.execWithRedirect("tune2fs", ["-U", "random", "/dev/%s" % (r.device.getDevice())],
stdout="/dev/tty5", stderr="/dev/tty5",
searchPath = 1)