summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2016-10-12 19:13:00 +0200
committerHolger Levsen <holger@layer-acht.org>2016-10-12 20:57:01 +0200
commitbbbe8c72a907e5a754ea5089a6c7da854d3be207 (patch)
treef2de4786a4630865fef646b351a78bfc373db4a5 /bin
parent982c4b453db72df8bb11db3187a19ef51b3a708e (diff)
downloadjenkins.debian.net-bbbe8c72a907e5a754ea5089a6c7da854d3be207.tar.xz
reproducible/openwrt|lede: also create TMPDIR on master node
Signed-off-by: Holger Levsen <holger@layer-acht.org>
Diffstat (limited to 'bin')
-rw-r--r--bin/reproducible_openwrt_common.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/reproducible_openwrt_common.sh b/bin/reproducible_openwrt_common.sh
index 82ba484e..b9478d48 100644
--- a/bin/reproducible_openwrt_common.sh
+++ b/bin/reproducible_openwrt_common.sh
@@ -304,8 +304,11 @@ build_two_times() {
TARGET=$2
CONFIG=$3
+ # create openwrt
ssh $GENERIC_NODE1 reproducible_$TYPE node node_create_tmpdirs $TMPDIR
ssh $GENERIC_NODE2 reproducible_$TYPE node node_create_tmpdirs $TMPDIR
+ mkdir -p $TMPDIR/download/
+
# download and prepare openwrt on node b1
ssh $GENERIC_NODE1 reproducible_$TYPE node openwrt_download $TYPE $TARGET $CONFIG $TMPDIR
rsync -av $GENERIC_NODE1:$TMPDIR/download/ $TMPDIR/download/