diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-08-31 11:06:31 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-08-31 11:06:31 +0000 |
commit | 954723a0a21df128df728b69980aad73e6bdd74d (patch) | |
tree | 87caf6cb0a2e71ae978381bc203df4b42edacab0 /target/imagebuilder | |
parent | b308ce739e42ec2afffa12924787ded8480ccbd8 (diff) | |
download | upstream-954723a0a21df128df728b69980aad73e6bdd74d.tar.gz upstream-954723a0a21df128df728b69980aad73e6bdd74d.tar.bz2 upstream-954723a0a21df128df728b69980aad73e6bdd74d.zip |
imagebuilder: remove postinst files before generating image
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42339 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/imagebuilder')
-rw-r--r-- | target/imagebuilder/files/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
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 |