imagebuilder: remove postinst files before generating image
Signed-off-by: Felix Fietkau <nbd@openwrt.org> Backport of r42339 git-svn-id: svn://svn.openwrt.org/openwrt/branches/barrier_breaker@42340 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
32d501a8da
commit
62ae39645d
|
@ -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…
Reference in New Issue