[pungi] Don't emit media labels with spaces in them.
Peter Jones
pjones at redhat.com
Mon Jun 30 20:44:31 UTC 2014
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 at redhat.com>
---
src/pypungi/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pypungi/__init__.py b/src/pypungi/__init__.py
index 9e9d161..6c65bc9 100644
--- a/src/pypungi/__init__.py
+++ b/src/pypungi/__init__.py
@@ -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])
--
1.9.3
More information about the anaconda-patches
mailing list