[molecule.specs.remaster] fix support for destination_iso_image_name, thanks to Joost Ruis for reporting

This commit is contained in:
Fabio Erculiani
2010-05-09 22:33:59 +02:00
parent 41f4f77abe
commit 189a84b960
+3 -1
View File
@@ -288,8 +288,10 @@ class IsoHandler(BuiltinIsoHandler):
def setup(self):
# cdroot dir
self.source_path = self.metadata['cdroot_path']
self.dest_iso = os.path.join(self.metadata['destination_iso_directory'],
dest_iso_filename = self.metadata.get('destination_iso_image_name',
"remaster_" + os.path.basename(self.metadata['source_iso']))
self.dest_iso = os.path.join(self.metadata['destination_iso_directory'],
dest_iso_filename)
self.iso_title = self.metadata.get('iso_title', 'Molecule remaster')
self.source_chroot = self.metadata['chroot_unpack_path']
self.chroot_dir = self.source_chroot