From ee5eb8b8d28a5bf4d9b5f19374b33f6c046d9fa6 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 25 Jan 2016 15:49:08 +0100 Subject: reproducible fdroid: updated by Hans-Christoph Steiner --- bin/reproducible_setup_fdroid_build_environment.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) mode change 100755 => 100644 bin/reproducible_setup_fdroid_build_environment.sh (limited to 'bin') diff --git a/bin/reproducible_setup_fdroid_build_environment.sh b/bin/reproducible_setup_fdroid_build_environment.sh old mode 100755 new mode 100644 index b2bcd3ad..59041453 --- a/bin/reproducible_setup_fdroid_build_environment.sh +++ b/bin/reproducible_setup_fdroid_build_environment.sh @@ -13,7 +13,19 @@ common_init "$@" # common code . /srv/jenkins/bin/reproducible_common.sh +# make sure we have the vagrant box image cached +test -e ~/.cache/fdroidserver || mkdir -p ~/.cache/fdroidserver +cd ~/.cache/fdroidserver +wget --continue https://f-droid.org/jessie32.box || true +echo "ff6b0c0bebcb742783becbc51a9dfff5a2a0a839bfcbfd0288dcd3113f33e533 jessie32.box" > jessie32.box.sha256 +sha256sum -c jessie32.box.sha256 + +# wipe the whole vagrant setup and start from scratch +export VAGRANT_HOME=$WORKSPACE/vagrant.d +rm -rf $VAGRANT_HOME + # do I really want to run this? +cd $WORKSPACE git clone https://gitlab.com/fdroid/fdroidserver.git cd fdroidserver ./makebuildserver -- cgit v1.2.3-70-g09d2