imagebuilder: remove postinst files before generating image

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 42339
master
Felix Fietkau 10 years ago
parent c74b5fde31
commit 7632358add
  1. 1
      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

Loading…
Cancel
Save