From: Jo-Philipp Wich Date: Thu, 9 Sep 2010 21:05:51 +0000 (+0000) Subject: [include] pass opkg offline root as command line arg, solves caching issues when... X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;h=2b5fc5c802597e98a87877d597b9717ace943cd2 [include] pass opkg offline root as command line arg, solves caching issues when switching between multiple subtargets, thanks Ralph Hempel for reporting SVN-Revision: 22990 --- diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk index 9212c1ff92..0ac6bb53f6 100644 --- a/include/package-ipkg.mk +++ b/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