Author: jow Date: 2015-09-14 18:57:03 +0200 (Mon, 14 Sep 2015) New Revision: 46912
Modified: trunk/target/imagebuilder/files/Makefile Log: imagebuilder: store package lists in cache directory Force opkg to store the downloaded repository indizes into the cache directory as well, this way the IB can be used in an offline setting once all required files have been cached. Signed-off-by: Jo-Philipp Wich <[email protected]> Modified: trunk/target/imagebuilder/files/Makefile =================================================================== --- trunk/target/imagebuilder/files/Makefile 2015-09-14 16:56:40 UTC (rev 46911) +++ trunk/target/imagebuilder/files/Makefile 2015-09-14 16:57:03 UTC (rev 46912) @@ -53,6 +53,7 @@ # override variables from rules.mk PACKAGE_DIR:=$(TOPDIR)/packages +LISTS_DIR:=$(subst $(space),/,$(patsubst %,..,$(subst /,$(space),$(TARGET_DIR))))$(DL_DIR) OPKG:= \ IPKG_NO_SCRIPT=1 \ IPKG_TMP="$(TMP_DIR)/ipkgtmp" \ @@ -65,6 +66,7 @@ --force-overwrite \ --force-postinstall \ --cache $(DL_DIR) \ + --lists-dir $(LISTS_DIR) \ --offline-root $(TARGET_DIR) \ --add-dest root:/ \ --add-arch all:100 \ _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
