summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_create_meta_pkg_sets.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/reproducible_create_meta_pkg_sets.sh')
-rwxr-xr-xbin/reproducible_create_meta_pkg_sets.sh11
1 files changed, 11 insertions, 0 deletions
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."