Make sure we get relative paths to the images.

This commit is contained in:
Jesse Keating 2008-08-04 16:57:05 -04:00
parent 7d92748838
commit be8b06d523

View File

@ -694,7 +694,7 @@ class Pungi(pypungi.PungiBase):
sums.append((outpath, sum)) sums.append((outpath, sum))
# Walk the os/images path to get sums of all the files # Walk the os/images path to get sums of all the files
os.path.walk(os.path.join(self.topdir, 'images'), getsum, self.topdir) os.path.walk(os.path.join(self.topdir, 'images'), getsum, self.topdir + '/')
# Get a checksum of repomd.xml since it has within it sums for other files # Get a checksum of repomd.xml since it has within it sums for other files
repomd = os.path.join(self.topdir, 'repodata', 'repomd.xml') repomd = os.path.join(self.topdir, 'repodata', 'repomd.xml')