summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Couzens <lynxis@fe80.eu>2017-06-09 13:47:21 +0200
committerHolger Levsen <holger@layer-acht.org>2017-06-09 13:57:17 +0200
commit72c594ff17e66cc47b26f4abc5659f35e7621eaf (patch)
tree2122fcfd3b279e0f6429adb784337abe2f0839cc
parente495d90c5c07137bc8b17336b864a103f08e55af (diff)
downloadjenkins.debian.net-72c594ff17e66cc47b26f4abc5659f35e7621eaf.tar.xz
reproducible_lede: openwrt_get_banner() use staging_dir instead of build_dir
The build_dir is now cleaned up after a package is built. Use the staging_dir instead which is more "presistent". Signed-off-by: Holger Levsen <holger@layer-acht.org>
-rw-r--r--bin/reproducible_lede_common.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/bin/reproducible_lede_common.sh b/bin/reproducible_lede_common.sh
index 529f34b4..a4bf88e4 100644
--- a/bin/reproducible_lede_common.sh
+++ b/bin/reproducible_lede_common.sh
@@ -306,9 +306,8 @@ openwrt_get_banner() {
TYPE=$2
cd $TMPDIR/build/source
echo "===bannerbegin==="
- find build_dir/ -name banner | grep etc/banner|head -1| xargs cat /dev/null
+ find staging_dir/ -name banner | grep etc/banner|head -1| xargs cat /dev/null
echo "===bannerend==="
-
}
# openwrt_build is run on a remote host