From 170ca885491fcc65a2593b5f3a9ac214245077cf Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Mon, 30 Jun 2014 16:44:31 -0400 Subject: [PATCH] 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 --- 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 9e9d161d..6c65bc92 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])