From: Felix Fietkau Date: Sun, 31 Aug 2014 11:06:31 +0000 (+0000) Subject: imagebuilder: remove postinst files before generating image X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=7632358addaabcd8b216efbf7f1ea3ddf30cfb6f;p=openwrt%2Fstaging%2Fdedeckeh.git imagebuilder: remove postinst files before generating image Signed-off-by: Felix Fietkau SVN-Revision: 42339 --- diff --git a/target/imagebuilder/files/Makefile b/target/imagebuilder/files/Makefile index 222dac43cc..72a91e0740 100644 --- a/target/imagebuilder/files/Makefile +++ b/target/imagebuilder/files/Makefile @@ -149,6 +149,7 @@ package_postinst: FORCE IPKG_INSTROOT=$(TARGET_DIR) $(which bash) ./etc/rc.common $$script enable; \ done || true; \ ) + rm -f $(TARGET_DIR)/usr/lib/opkg/info/*.postinst $(if $(CONFIG_CLEAN_IPKG),rm -rf $(TARGET_DIR)/usr/lib/opkg) build_image: FORCE