-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ack. On Fri, 2 Oct 2009, Chris Lumens wrote:
--- storage/formats/fs.py | 3 +++ storage/formats/swap.py | 3 +++ 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a/storage/formats/fs.py b/storage/formats/fs.py index ec83586..1b389d1 100644 --- a/storage/formats/fs.py +++ b/storage/formats/fs.py @@ -794,6 +794,9 @@ class FS(DeviceFormat): def writeKS(self, f): f.write("%s --fstype=%s" % (self.mountpoint, self.type)) + if self.label: + f.write(" --label=\"%s\"" % self.label) + class Ext2FS(FS): """ ext2 filesystem. """ diff --git a/storage/formats/swap.py b/storage/formats/swap.py index e1dacb0..713ff58 100644 --- a/storage/formats/swap.py +++ b/storage/formats/swap.py @@ -149,6 +149,9 @@ class SwapSpace(DeviceFormat): def writeKS(self, f): f.write("swap") + if self.label: + f.write(" --label=\"%s\"" % self.label) + register_device_format(SwapSpace)
- -- David Cantrell <dcantrell@xxxxxxxxxx>
Red Hat / Honolulu, HI -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkrGjiIACgkQ5hsjjIy1Vkn3/ACfd1pnZURS7ku+pZ3maLIdIGls baoAn2Y16+cP/EvxxGlPAVFSakTTJ5H7 =WGWr -----END PGP SIGNATURE----- _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list