Skip to content
Snippets Groups Projects
Commit fb3fb9b6 authored by Jo-Philipp Wich's avatar Jo-Philipp Wich
Browse files

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: default avatarJo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 46912
parent 64974062
No related branches found
No related tags found
No related merge requests found
......@@ -53,6 +53,7 @@ help: FORCE
# 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 @@ OPKG:= \
--force-overwrite \
--force-postinstall \
--cache $(DL_DIR) \
--lists-dir $(LISTS_DIR) \
--offline-root $(TARGET_DIR) \
--add-dest root:/ \
--add-arch all:100 \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment