summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_pbuilder_setup.sh
diff options
context:
space:
mode:
authorHolger Levsen <holger@layer-acht.org>2014-09-23 18:39:45 +0200
committerHolger Levsen <holger@layer-acht.org>2014-09-23 18:39:45 +0200
commit99a5106f6fca22e843478cb72bb38a6bc91d2299 (patch)
tree2825cac4965b4832d4b014eca005621662c57424 /bin/reproducible_pbuilder_setup.sh
parent0891306bd36d87fb718cc46ab2eced2d800b8712 (diff)
downloadjenkins.debian.net-99a5106f6fca22e843478cb72bb38a6bc91d2299.tar.xz
reproducible jobs: make basic job working
Diffstat (limited to 'bin/reproducible_pbuilder_setup.sh')
-rwxr-xr-xbin/reproducible_pbuilder_setup.sh18
1 files changed, 0 insertions, 18 deletions
diff --git a/bin/reproducible_pbuilder_setup.sh b/bin/reproducible_pbuilder_setup.sh
deleted file mode 100755
index 282d61eb..00000000
--- a/bin/reproducible_pbuilder_setup.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/bash
-
-# Copyright 2014 Holger Levsen <holger@layer-acht.org>
-# released under the GPLv=2
-
-. /srv/jenkins/bin/common-functions.sh
-common_init "$@"
-
-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
-EOF
-
-sudo cp /var/cache/pbuilder/base.tgz /var/cache/pbuilder/base-reproducible.tgz
-sudo pbuilder --execute $TMPFILE --save-after-exec --basetgz /var/cache/pbuilder/base-reproducible.tgz
-rm $TMPFILE