summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-01-03 22:36:57 +0100
committerHolger Levsen <holger@layer-acht.org>2015-01-03 22:36:57 +0100
commitb93db816d13428619ba591f9f5eba504003941be (patch)
treee2002e84cc371b029b48688274b495cdc34dac08 /bin
parent1c9ae496971b3bea22b7a26203cbf73d87bf3063 (diff)
downloadjenkins.debian.net-b93db816d13428619ba591f9f5eba504003941be.tar.xz
reproducible: add another package set: build-depends_tails
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_common.sh1
-rwxr-xr-xbin/reproducible_create_meta_pkg_sets.sh11
2 files changed, 12 insertions, 0 deletions
diff --git a/bin/reproducible_common.sh b/bin/reproducible_common.sh
index e4797666..d571c0c2 100755
--- a/bin/reproducible_common.sh
+++ b/bin/reproducible_common.sh
@@ -143,6 +143,7 @@ META_PKGSET[3]="build-essential"
META_PKGSET[4]="gnome"
META_PKGSET[5]="build-depends_gnome"
META_PKGSET[6]="tails"
+META_PKGSET[7]="build-depends_tails"
init_html() {
SUITE=sid
diff --git a/bin/reproducible_create_meta_pkg_sets.sh b/bin/reproducible_create_meta_pkg_sets.sh
index cd5230aa..516a0a3e 100755
--- a/bin/reproducible_create_meta_pkg_sets.sh
+++ b/bin/reproducible_create_meta_pkg_sets.sh
@@ -44,9 +44,14 @@ update_if_similar() {
fi
fi
mv $TMPFILE $TARGET
+ echo "$TARGET updated."
}
+#
+# main
+#
+
# the essential package set
grep-dctrl -sPackage -n -X -FEssential yes $PACKAGES > $TMPFILE
convert_into_source_packages_only
@@ -80,6 +85,12 @@ curl http://nightly.tails.boum.org/build_Tails_ISO_feature-jessie/latest.iso.src
convert_into_source_packages_only
update_if_similar ${META_PKGSET[6]}.pkgset
+# all build depends of tails
+for PKG in $TPATH/${META_PKGSET[6]}.pkgset ; do
+ grep-dctrl -sBuild-Depends -n -X -FPackage $PKG /schroots/sid/var/lib/apt/lists/*Sources | sed "s#([^)]*)##g; s#,##g" >> $TMPFILE
+done
+update_if_similar ${META_PKGSET[7]}.pkgset
+
# finally
echo "All meta package sets created successfully."