summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-01-14 14:50:27 +0100
committerHolger Levsen <holger@layer-acht.org>2015-01-14 14:50:27 +0100
commit55d56134d2263d70fceedb4040ca194bd5a3089b (patch)
tree0b47b43df721516af47d307feb701c5238331abd
parente2c7a22aac10a10a5dc31d9a5bc54d09d63c06bd (diff)
downloadjenkins.debian.net-55d56134d2263d70fceedb4040ca194bd5a3089b.tar.xz
reproducible: add two new meta pkg sets: grml and grml_build-depends, thanks to Reiner Herrmann for the idea
-rwxr-xr-xbin/reproducible_common.sh2
-rwxr-xr-xbin/reproducible_create_meta_pkg_sets.sh19
2 files changed, 21 insertions, 0 deletions
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index 6881d02a..803d1610 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -152,6 +152,8 @@ META_PKGSET[8]="maint_pkg-perl-maintainers"
META_PKGSET[9]="popcon_top1337-installed-sources"
META_PKGSET[10]="installed_on_debian.org"
META_PKGSET[11]="had_a_DSA"
+META_PKGSET[12]="grml"
+META_PKGSET[13]="grml_build-depends"
init_html() {
SUITE=sid
diff --git a/bin/reproducible_create_meta_pkg_sets.sh b/bin/reproducible_create_meta_pkg_sets.sh
index bd68e2de..9ada2eea 100755
--- a/bin/reproducible_create_meta_pkg_sets.sh
+++ b/bin/reproducible_create_meta_pkg_sets.sh
@@ -193,6 +193,25 @@ if [ -z $(find $TPATH -maxdepth 1 -mtime +0 -name ${META_PKGSET[11]}.pkgset) ] ;
update_if_similar ${META_PKGSET[11]}.pkgset
fi
+# grml
+if [ -z $(find $TPATH -maxdepth 1 -mtime +0 -name ${META_PKGSET[12]}.pkgset) ] ; then
+ # FIXME: this needs updating when grml64-full_2014.11 ain't the latest release anymore...
+ curl http://grml.org/files/grml64-full_2014.11/dpkg.selections | cut -f1 > $TMPFILE
+ convert_into_source_packages_only
+ update_if_similar ${META_PKGSET[12]}.pkgset
+fi
+
+# all build depends of grml
+rm -f $TMPFILE
+if [ -z $(find $TPATH -maxdepth 1 -mtime +0 -name ${META_PKGSET[13]}.pkgset) ] ; then
+ for PKG in $(cat $TPATH/${META_PKGSET[12]}.pkgset) ; do
+ grep-dctrl -sBuild-Depends -n -X -FPackage $PKG $SOURCES | sed "s#([^()]*)##g ; s#\[[^][]*\]##g ; s#,##g" >> $TMPFILE
+ done
+ convert_into_source_packages_only
+ update_if_similar ${META_PKGSET[13]}.pkgset
+fi
+
+
# finally
rm -f $TMPFILE ${TMPFILE2}
echo "All meta package sets created successfully."