summaryrefslogtreecommitdiffstats
path: root/bin/reproducible_openwrt_common.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/reproducible_openwrt_common.sh')
-rw-r--r--bin/reproducible_openwrt_common.sh10
1 files changed, 0 insertions, 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