Make sure we write out relative paths for the infofile

This commit is contained in:
Jesse Keating 2008-08-04 17:57:53 -04:00
parent 5beb34227e
commit f253e2e8bb

View File

@ -1039,7 +1039,7 @@ cost=500
shutil.move('%s-disc1' % self.topdir, os.path.join(self.workdir, 'os-unified')) shutil.move('%s-disc1' % self.topdir, os.path.join(self.workdir, 'os-unified'))
# Write out a line describing the media # Write out a line describing the media
self.writeinfo('media: %s' % isofile) self.writeinfo('media: %s' % self.mkrelative(isofile))
if self.config.getint('default', 'discs') > 1: if self.config.getint('default', 'discs') > 1:
if self.config.get('default', 'arch') == 'source': if self.config.get('default', 'arch') == 'source':
@ -1090,7 +1090,7 @@ cost=500
isolist.append(self.mkrelative(isofile)) isolist.append(self.mkrelative(isofile))
# Write out a line describing the CD set # Write out a line describing the CD set
self.writeinfo('mediaset: %s' % ' '.join(isolist)) self.writeinfo('mediaset: %s' % ' '.join(self.mkrelative(iso) for iso in isolist))
# Now link the boot iso # Now link the boot iso
if not self.config.get('default', 'arch') == 'source' and \ if not self.config.get('default', 'arch') == 'source' and \