Author: nbd
Date: 2014-08-31 13:06:48 +0200 (Sun, 31 Aug 2014)
New Revision: 42340

Modified:
   branches/barrier_breaker/target/imagebuilder/files/Makefile
Log:
imagebuilder: remove postinst files before generating image

Signed-off-by: Felix Fietkau <[email protected]>

Backport of r42339

Modified: branches/barrier_breaker/target/imagebuilder/files/Makefile
===================================================================
--- branches/barrier_breaker/target/imagebuilder/files/Makefile 2014-08-31 
11:06:31 UTC (rev 42339)
+++ branches/barrier_breaker/target/imagebuilder/files/Makefile 2014-08-31 
11:06:48 UTC (rev 42340)
@@ -149,6 +149,7 @@
                        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
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to