summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2015-06-03 13:26:53 +0200
committerHolger Levsen <holger@layer-acht.org>2015-06-03 13:26:53 +0200
commitbb711715b331c04740a09185f91c3f2df79031d3 (patch)
treec65559ed1ec4da1da243370bab8432dc98ec3bfb
parentb1435b4374d3f6eaa7b1582d085257a106f8563e (diff)
downloadjenkins.debian.net-bb711715b331c04740a09185f91c3f2df79031d3.tar.xz
reproducible: try harder to understand whats going wrong here
-rwxr-xr-xbin/reproducible_create_meta_pkg_sets.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/reproducible_create_meta_pkg_sets.sh b/bin/reproducible_create_meta_pkg_sets.sh
index e814166b..7f8eeaa5 100755
--- a/bin/reproducible_create_meta_pkg_sets.sh
+++ b/bin/reproducible_create_meta_pkg_sets.sh
@@ -17,6 +17,7 @@ packages_list_to_deb822() {
ALL_PKGS=$(cat $TMPFILE | cut -d ":" -f1 | sed "s#([^()]*)##g ; s#\[[^][]*\]##g ; s#,##g ; s# #\n#g" |sort -u | tr '\n' '|')
grep-dctrl -F Package -e '^('"$ALL_PKGS"')$' $PACKAGES > $TMPFILE
}
+
convert_from_deb822_into_source_packages_only() {
# given a Packages file in deb822 format on standard input, the
# following perl "oneliner" outputs the associated (unversioned)
@@ -68,13 +69,14 @@ update_if_similar() {
get_installable_set() {
set +e
+ echo "$(date) - Calculating the installable set for $1"
dose-deb-coinstall --deb-native-arch=$ARCH --bg=$PACKAGES --fg=${TMPFILE2} > $TMPFILE
RESULT=$?
if [ $RESULT -ne 0 ] ; then
rm $TMPFILE
echo "Warning: dose-deb-coinstall cannot calculate the installable set for $1"
fi
- rm ${TMPFILE2}
+ rm -v ${TMPFILE2}
set -e
}