Use a predictable ISO Volume ID (#732298)

Since the new lorax branch needs to know the iso Volume ID to be able to
boot, we need to make sure we're using the same Volume ID that lorax
sets up the bootloaders to expect.
This commit is contained in:
Will Woods 2011-10-20 15:38:25 -04:00 committed by Dennis Gilmore
parent 0ff7275349
commit 32eacf5eec

View File

@ -1052,13 +1052,11 @@ class Pungi(pypungi.PungiBase):
elif self.config.get('pungi', 'arch') == 'sparc':
extraargs.extend(sparcbootargs)
# NOTE: if this doesn't match what's in the bootloader config, the
# image won't be bootable!
extraargs.append('-V')
if treesize > 700:
extraargs.append('%s %s %s DVD' % (self.config.get('pungi', 'name'),
self.config.get('pungi', 'version'), self.config.get('pungi', 'arch')))
else:
extraargs.append('%s %s %s' % (self.config.get('pungi', 'name'),
self.config.get('pungi', 'version'), self.config.get('pungi', 'arch')))
extraargs.append('%s %s %s' % (self.config.get('pungi', 'name'),
self.config.get('pungi', 'version'), self.config.get('pungi', 'arch')))
extraargs.extend(['-o', isofile])