From 72c594ff17e66cc47b26f4abc5659f35e7621eaf Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Fri, 9 Jun 2017 13:47:21 +0200 Subject: 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 --- 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 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 -- cgit v1.2.3-70-g09d2