summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/reproducible_build.sh (renamed from bin/reproducible_pbuild_run.sh)2
-rwxr-xr-xbin/reproducible_setup.sh (renamed from bin/reproducible_pbuilder_setup.sh)5
2 files changed, 4 insertions, 3 deletions
diff --git a/bin/reproducible_pbuild_run.sh b/bin/reproducible_build.sh
index 659728da..641a46d7 100755
--- a/bin/reproducible_pbuild_run.sh
+++ b/bin/reproducible_build.sh
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/bash
# Copyright 2014 Holger Levsen <holger@layer-acht.org>
# released under the GPLv=2
diff --git a/bin/reproducible_pbuilder_setup.sh b/bin/reproducible_setup.sh
index 282d61eb..41af2bff 100755
--- a/bin/reproducible_pbuilder_setup.sh
+++ b/bin/reproducible_setup.sh
@@ -6,11 +6,12 @@
. /srv/jenkins/bin/common-functions.sh
common_init "$@"
-TMPFILE=$(mktemp=)
+TMPFILE=$(mktemp)
cat > $TMPFILE <<- EOF
echo 'deb http://reproducible.alioth.debian.org/debian/ ./' > /etc/apt/sources.list.d/reproducible.list
apt-get update
-apt-get install -y dpkg dpkg-dev debhelper dh-python proot
+echo "Warning: Usage of --force-yes to override the apt authentication warning. Don't do this."
+apt-get install --force-yes -y dpkg dpkg-dev debhelper dh-python proot
EOF
sudo cp /var/cache/pbuilder/base.tgz /var/cache/pbuilder/base-reproducible.tgz