Przeglądaj źródła

imagebuilder: clean opkg files if requested (patch from #9866)

SVN-Revision: 27872
Felix Fietkau 14 lat temu
rodzic
commit
e5e17a1ce8
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      target/imagebuilder/files/Makefile

+ 1 - 0
target/imagebuilder/files/Makefile

@@ -140,6 +140,7 @@ package_postinst: FORCE
 			IPKG_INSTROOT=$(TARGET_DIR) $(which bash) ./etc/rc.common $$script enable; \
 		done || true; \
 	)
+	$(if $(CONFIG_CLEAN_IPKG),rm -rf $(TARGET_DIR)/usr/lib/opkg)
 
 build_image: FORCE
 	@echo