Grab ppc images checksums too for our info file.

This commit is contained in:
Jesse Keating 2008-08-05 14:34:37 -04:00
parent f253e2e8bb
commit bdaf3a662a
1 changed files with 4 additions and 0 deletions

View File

@ -695,6 +695,10 @@ class Pungi(pypungi.PungiBase):
# Walk the os/images path to get sums of all the files
os.path.walk(os.path.join(self.topdir, 'images'), getsum, self.topdir + '/')
# Capture PPC images
if self.config.get('default', 'arch') == 'ppc':
os.path.walk(os.path.join(self.topdir, 'ppc'), getsum, self.topdir + '/')
# Get a checksum of repomd.xml since it has within it sums for other files
repomd = os.path.join(self.topdir, 'repodata', 'repomd.xml')