Explorar o código

build: clean up postinst scripts after build

OpenWrt does this by default to save some space.
Matthias Schiffer %!s(int64=7) %!d(string=hai) anos
pai
achega
b6285800d1
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      Makefile

+ 1 - 0
Makefile

@@ -415,6 +415,7 @@ package_install: FORCE
 	+$(GLUONMAKE) enable_initscripts
 
 	rm -f $(TARGET_DIR)/usr/lib/opkg/lists/* $(TARGET_DIR)/tmp/opkg.lock
+	rm -f $(TARGET_DIR)/usr/lib/opkg/info/*.postinst*
 
 # Remove opkg database when opkg is not intalled
 	if [ ! -x $(TARGET_DIR)/bin/opkg ]; then rm -rf $(TARGET_DIR)/usr/lib/opkg; fi