summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_create_meta_pkg_sets.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-07-15 16:07:16 +0200
committerHolger Levsen <holger@layer-acht.org>2015-07-15 16:07:16 +0200
commitbc81eaae6b098ca320b992f0a341d97849a8c1b0 (patch)
tree3494a82a11b64a9419c0df840aefb471e1e6d545 /bin/reproducible_create_meta_pkg_sets.sh
parent7cb54ec077811d5efb9c22c85a64f4a44d4206f9 (diff)
downloadjenkins.debian.net-bc81eaae6b098ca320b992f0a341d97849a8c1b0.tar.xz
reproducible: add new pkg set: cii-census (see https://github.com/linuxfoundation/cii-census)
Diffstat (limited to 'bin/reproducible_create_meta_pkg_sets.sh')
-rwxr-xr-xbin/reproducible_create_meta_pkg_sets.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/bin/reproducible_create_meta_pkg_sets.sh b/bin/reproducible_create_meta_pkg_sets.sh
index 75667195..bd6f562d 100755
--- a/bin/reproducible_create_meta_pkg_sets.sh
+++ b/bin/reproducible_create_meta_pkg_sets.sh
@@ -191,6 +191,15 @@ update_pkg_sets() {
rm -f ${TMPFILE2}
fi
+ # packages from the cii-census
+ if [ ! -z $(find $TPATH -maxdepth 1 -mtime +0 -name ${META_PKGSET[30]}.pkgset) ] || [ ! -f $TPATH/${META_PKGSET[30]}.pkgset ] ; then
+ CII=$(mktemp)
+ git clone https://github.com/linuxfoundation/cii-census.git $CII
+ csvtool -t ',' col 1 $CII|results.csv|grep -v "project name" > $TMPFILE
+ update_if_similar ${META_PKGSET[30]}.pkgset
+ rm $CII -r
+ fi
+
# gnome and everything it depends on
if [ ! -z $(find $TPATH -maxdepth 1 -mtime +0 -name ${META_PKGSET[9]}.pkgset) ] || [ ! -f $TPATH/${META_PKGSET[9]}.pkgset ] ; then
chdist --data-dir=$CHPATH grep-dctrl-packages $DISTNAME -X \( -FPriority required --or -FPackage gnome \) > ${TMPFILE2}