From ff43c2d46d46552b80306bbf20fe21da00452d7c Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Thu, 13 Oct 2016 20:20:56 +0200 Subject: reproducible_openwrt|lede: remove cleanup it's not needed here, cleanup the whole directory. it also brokes the save_logs in case of failure Signed-off-by: Holger Levsen --- bin/reproducible_openwrt_common.sh | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/bin/reproducible_openwrt_common.sh b/bin/reproducible_openwrt_common.sh index 4df7cb40..3af45b7a 100644 --- a/bin/reproducible_openwrt_common.sh +++ b/bin/reproducible_openwrt_common.sh @@ -267,13 +267,6 @@ openwrt_get_banner() { cat $(find build_dir/ -name banner | grep etc/banner|head -1| xargs cat /dev/null) } -openwrt_cleanup() { - rm build_dir/target-* -rf - rm staging_dir/target-* -rf - rm bin/* -rf - rm logs/* -rf -} - # openwrt_build is run on a remote host # TYPE - openwrt or lede # RUN - b1 or b2. b1 means first run, b2 second @@ -308,9 +301,6 @@ openwrt_build() { # copy logs node_save_logs "$TMPDIR" - - # clean up between builds - openwrt_cleanup } # build openwrt/lede on two different hosts -- cgit v1.2.3-70-g09d2