[backfire] merge r27872
authorJo-Philipp Wich <jow@openwrt.org>
Fri, 9 Sep 2011 17:04:51 +0000 (17:04 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Fri, 9 Sep 2011 17:04:51 +0000 (17:04 +0000)
SVN-Revision: 28204

target/imagebuilder/files/Makefile

index 1fa074b35ea268535c635fed2153a77db3a5584f..75129ffd2a166719517f2f532d3a4be3d7130836 100644 (file)
@@ -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