summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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."