summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-07-26 22:02:20 +0200
committerHolger Levsen <holger@layer-acht.org>2015-07-26 22:02:20 +0200
commit9501cb8eb1763bc57bcaa558905974fa6b63a401 (patch)
treeff028c9a0e9694edcc856c4326e0f05ec47f7745 /bin
parent430446415aa1d24a0abffda776a460f7279cfc2a (diff)
downloadjenkins.debian.net-9501cb8eb1763bc57bcaa558905974fa6b63a401.tar.xz
reproducible: convert binary package list of cii-census pkg set into source package list
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_create_meta_pkg_sets.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/reproducible_create_meta_pkg_sets.sh b/bin/reproducible_create_meta_pkg_sets.sh
index 99b45ab8..63e8439a 100755
--- a/bin/reproducible_create_meta_pkg_sets.sh
+++ b/bin/reproducible_create_meta_pkg_sets.sh
@@ -197,6 +197,11 @@ update_pkg_sets() {
CII=$(mktemp --tmpdir=$TEMPDIR pkg-sets-XXXXXXXXX -u)
git clone https://github.com/linuxfoundation/cii-census.git $CII
csvtool -t ',' col 1 $CII/results.csv | grep -v "project_name" > $TMPFILE
+ # convert binary packages into source packages
+ for i in $(cat $TMPFILE) ; do
+ chdist --data-dir=$CHPATH apt-cache show $i >> ${TMPFILE2}
+ done
+ mv ${TMPFILE2} $TMPFILE
update_if_similar ${META_PKGSET[9]}.pkgset
rm $CII -r
fi