mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-11-24 03:58:35 +02:00
[include] pass opkg offline root as command line arg, solves caching issues when switching between multiple subtargets, thanks Ralph Hempel for reporting
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@22990 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
8c59fddb36
commit
5e3ed67a78
@ -13,6 +13,7 @@ OPKG:= \
|
|||||||
IPKG_OFFLINE_ROOT=$(TARGET_DIR) \
|
IPKG_OFFLINE_ROOT=$(TARGET_DIR) \
|
||||||
$(STAGING_DIR_HOST)/bin/opkg \
|
$(STAGING_DIR_HOST)/bin/opkg \
|
||||||
-f $(STAGING_DIR)/etc/opkg.conf \
|
-f $(STAGING_DIR)/etc/opkg.conf \
|
||||||
|
--offline-root $(TARGET_DIR) \
|
||||||
--force-depends \
|
--force-depends \
|
||||||
--force-overwrite \
|
--force-overwrite \
|
||||||
--force-run-hooks
|
--force-run-hooks
|
||||||
@ -126,7 +127,6 @@ ifeq ($(DUMP),)
|
|||||||
mkdir -p $(STAGING_DIR)/etc
|
mkdir -p $(STAGING_DIR)/etc
|
||||||
( echo "dest root /" > $@; \
|
( echo "dest root /" > $@; \
|
||||||
echo "arch all 100" >> $@; \
|
echo "arch all 100" >> $@; \
|
||||||
echo "arch $(PKGARCH) 200" >> $@; \
|
echo "arch $(PKGARCH) 200" >> $@ )
|
||||||
echo "option offline_root $(TARGET_DIR)" >> $@ )
|
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user