[Fedora-livecd-list] imgcreate/fs.py

joey boggs jboggs at fedoraproject.org
Wed Jun 9 20:38:17 UTC 2010


 imgcreate/fs.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 85673a75c9c3c08d1d077e1608a7e0ff10b09c1b
Author: Joey Boggs <jboggs at redhat.com>
Date:   Fri May 28 13:30:49 2010 -0400

    prepend _ to the file system label.
    
    In cases where a livecd is created, the iso label and the ext root file system have the same label causing a race between what device is symlinked to /dev/live.
    
    To avoid this confusion _ is prepended to the fslabel

diff --git a/imgcreate/fs.py b/imgcreate/fs.py
index b8d61db..f5eed39 100644
--- a/imgcreate/fs.py
+++ b/imgcreate/fs.py
@@ -395,7 +395,7 @@ class ExtDiskMount(DiskMount):
     def __init__(self, disk, mountdir, fstype, blocksize, fslabel, rmmountdir=True):
         DiskMount.__init__(self, disk, mountdir, fstype, rmmountdir)
         self.blocksize = blocksize
-        self.fslabel = fslabel
+        self.fslabel = "_" + fslabel
 
     def __format_filesystem(self):
         logging.debug("Formating %s filesystem on %s" % (self.fstype, self.disk.device))




More information about the livecd mailing list