From bdaf3a662a5438cdabc002209ef02ee4e45af343 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Aug 05 2008 18:34:37 +0000 Subject: Grab ppc images checksums too for our info file. --- diff --git a/src/pypungi/__init__.py b/src/pypungi/__init__.py index 5927d77..6dcdc1d 100644 --- a/src/pypungi/__init__.py +++ b/src/pypungi/__init__.py @@ -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')