[include] pass opkg offline root as command line arg, solves caching issues when...
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 9 Sep 2010 21:05:51 +0000 (21:05 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 9 Sep 2010 21:05:51 +0000 (21:05 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22990 3c298f89-4303-0410-b956-a3cf2f4a3e73

include/package-ipkg.mk

index 9212c1f..0ac6bb5 100644 (file)
@@ -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
This page took 0.034273 seconds and 4 git commands to generate.