aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-09-09 21:05:51 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-09-09 21:05:51 +0000
commit6cbd09df64b48f6252e1230123194bfcb2f6a2a0 (patch)
tree78da1d6af6dfe3235cb6da85cf559131f5c85124
parent70dff7070ed289d1fd8078a3bf80713ed959b20d (diff)
downloadupstream-6cbd09df64b48f6252e1230123194bfcb2f6a2a0.tar.gz
upstream-6cbd09df64b48f6252e1230123194bfcb2f6a2a0.tar.bz2
upstream-6cbd09df64b48f6252e1230123194bfcb2f6a2a0.zip
pass opkg offline root as command line arg, solves caching issues when switching between multiple subtargets, thanks Ralph Hempel for reporting
SVN-Revision: 22990
-rw-r--r--include/package-ipkg.mk4
1 files changed, 2 insertions, 2 deletions
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
'n156' href='#n156'>156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262