Don't emit media labels with spaces in them.

Spaces cause various bugs like #923374 and #855849 , and it would be
better if we just didn't use them.

Note that there's a corresponding lorax change to go with this.

Signed-off-by: Peter Jones <pjones@redhat.com>
This commit is contained in:
Peter Jones 2014-06-30 16:44:31 -04:00 committed by Dennis Gilmore
parent 1ba64d6e6b
commit 170ca88549

View File

@ -1608,7 +1608,7 @@ class Pungi(pypungi.PungiBase):
# NOTE: if this doesn't match what's in the bootloader config, the
# image won't be bootable!
extraargs.append('-V')
extraargs.append('%s %s %s' % (self.config.get('pungi', 'name'),
extraargs.append('%s-%s-%s' % (self.config.get('pungi', 'name'),
self.config.get('pungi', 'version'), self.tree_arch))
extraargs.extend(['-o', isofile])