From: Joerg Jaspert Date: Sun, 20 Feb 2011 16:51:53 +0000 (+0100) Subject: generate-releases X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9303be3bf7cc39d8e027b886a3fdf29ee7fe3e7c;p=dak generate-releases include debian-installer MD5SUMS files into our release files. (closes: #611087) Signed-off-by: Joerg Jaspert --- diff --git a/dak/generate_releases.py b/dak/generate_releases.py index 2e28fb28..49859c61 100755 --- a/dak/generate_releases.py +++ b/dak/generate_releases.py @@ -4,7 +4,7 @@ @contact: Debian FTPMaster @Copyright: 2001, 2002, 2006 Anthony Towns -@copyright: 2009 Joerg Jaspert +@copyright: 2009, 2011 Joerg Jaspert @license: GNU General Public License version 2 or later """ # This program is free software; you can redistribute it and/or modify @@ -314,12 +314,12 @@ def main (): files.append(cfile) add_tiffani(files, Cnf["Dir::Root"] + tree, filepath) else: - disks = "%s/disks-%s" % (sec, arch) - diskspath = Cnf["Dir::Root"]+tree+"/"+disks - if os.path.exists(diskspath): - for dir in os.listdir(diskspath): - if os.path.exists("%s/%s/md5sum.txt" % (diskspath, dir)): - files.append("%s/%s/md5sum.txt" % (disks, dir)) + installer = "%s/installer-%s" % (sec, arch) + installerpath = Cnf["Dir::Root"]+tree+"/"+installer + if os.path.exists(installerpath): + for directory in os.listdir(installerpath): + if os.path.exists("%s/%s/images/MD5SUMS" % (installerpath, directory)): + files.append("%s/%s/images/MD5SUMS" % (installer, directory)) filepath = "%s/binary-%s/Packages" % (sec, arch) for cfile in compressnames("tree::%s" % (tree), "Packages", filepath):