summaryrefslogtreecommitdiff
path: root/target/imagebuilder
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2014-08-31 11:06:31 +0000
committerFelix Fietkau <nbd@openwrt.org>2014-08-31 11:06:31 +0000
commit7632358addaabcd8b216efbf7f1ea3ddf30cfb6f (patch)
treecd29f272aba76a964718589b723def84b7656a9b /target/imagebuilder
parentc74b5fde310f1776bd49c8c18c15467dc720715b (diff)
downloadmtk-20170518-7632358addaabcd8b216efbf7f1ea3ddf30cfb6f.zip
mtk-20170518-7632358addaabcd8b216efbf7f1ea3ddf30cfb6f.tar.gz
mtk-20170518-7632358addaabcd8b216efbf7f1ea3ddf30cfb6f.tar.bz2
imagebuilder: remove postinst files before generating image
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42339
Diffstat (limited to 'target/imagebuilder')
-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 222dac4..72a91e0 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