aboutsummaryrefslogtreecommitdiffstats
path: root/target/imagebuilder/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2011-08-01 23:58:11 +0000
committerFelix Fietkau <nbd@openwrt.org>2011-08-01 23:58:11 +0000
commit9b6d913a5a5fda2670314477b7276fdb00df31c6 (patch)
tree75e3109d16fa0d8b40f0cc6b82e691a9182fbbdb /target/imagebuilder/files
parent236483242b588eba287d306fd4d7e5d5261f2ba7 (diff)
downloadupstream-9b6d913a5a5fda2670314477b7276fdb00df31c6.tar.gz
upstream-9b6d913a5a5fda2670314477b7276fdb00df31c6.tar.bz2
upstream-9b6d913a5a5fda2670314477b7276fdb00df31c6.zip
imagebuilder: clean opkg files if requested (patch from #9866)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27872 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/imagebuilder/files')
-rw-r--r--target/imagebuilder/files/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/imagebuilder/files/Makefile b/target/imagebuilder/files/Makefile
index 002274acaf..902568b6dd 100644
--- a/target/imagebuilder/files/Makefile
+++ b/target/imagebuilder/files/Makefile
@@ -140,6 +140,7 @@ package_postinst: FORCE
IPKG_INSTROOT=$(TARGET_DIR) $(which bash) ./etc/rc.common $$script enable; \
done || true; \
)
+ $(if $(CONFIG_CLEAN_IPKG),rm -rf $(TARGET_DIR)/usr/lib/opkg)
build_image: FORCE
@echo