Browse Source

pass opkg offline root as command line arg, solves caching issues when switching between multiple subtargets, thanks Ralph Hempel for reporting

SVN-Revision: 22990
Jo-Philipp Wich 15 years ago
parent
commit
6cbd09df64
1 changed files with 2 additions and 2 deletions
  1. 2 2
      include/package-ipkg.mk

+ 2 - 2
include/package-ipkg.mk

@@ -13,6 +13,7 @@ OPKG:= \
   IPKG_OFFLINE_ROOT=$(TARGET_DIR) \
   $(STAGING_DIR_HOST)/bin/opkg \
 	-f $(STAGING_DIR)/etc/opkg.conf \
+	--offline-root $(TARGET_DIR) \
 	--force-depends \
 	--force-overwrite \
 	--force-run-hooks
@@ -126,7 +127,6 @@ ifeq ($(DUMP),)
 	mkdir -p $(STAGING_DIR)/etc
 	( echo "dest root /"				> $@; \
 	  echo "arch all 100"				>> $@; \
-	  echo "arch $(PKGARCH) 200"			>> $@; \
-	  echo "option offline_root $(TARGET_DIR)"	>> $@ )
+	  echo "arch $(PKGARCH) 200"			>> $@ )
 
 endif