summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
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