[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible_lede: openwrt_get_banner() use staging_dir instead of build_dir

Holger Levsen holger at layer-acht.org
Fri Jun 9 11:57:32 UTC 2017


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit 72c594ff17e66cc47b26f4abc5659f35e7621eaf
Author: Alexander Couzens <lynxis at fe80.eu>
Date:   Fri Jun 9 13:47:21 2017 +0200

    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 at layer-acht.org>
---
 bin/reproducible_lede_common.sh | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/bin/reproducible_lede_common.sh b/bin/reproducible_lede_common.sh
index 529f34b..a4bf88e 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list