Grab ppc images checksums too for our info file.
This commit is contained in:
parent
f253e2e8bb
commit
bdaf3a662a
@ -696,6 +696,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')
|
||||
sum = pypungi.util._doCheckSum(repomd, 'sha1', self.logger)
|
||||
|
Loading…
Reference in New Issue
Block a user