summaryrefslogtreecommitdiff
path: root/openwrt/toolchain
diff options
context:
space:
mode:
authorNicolas Thill <nico@openwrt.org>2005-03-06 11:00:35 +0000
committerNicolas Thill <nico@openwrt.org>2005-03-06 11:00:35 +0000
commit1090511eb70d5486bffb62466544ee52cd56cf4d (patch)
tree7a308e88beda9f19df07727a6d0718bb0b92b6fb /openwrt/toolchain
parent39b95c064ade69b384e80419b566ff7a08da8479 (diff)
downloadmtk-20170518-1090511eb70d5486bffb62466544ee52cd56cf4d.zip
mtk-20170518-1090511eb70d5486bffb62466544ee52cd56cf4d.tar.gz
mtk-20170518-1090511eb70d5486bffb62466544ee52cd56cf4d.tar.bz2
Add offline_root option to ipkg.conf
SVN-Revision: 312
Diffstat (limited to 'openwrt/toolchain')
-rw-r--r--openwrt/toolchain/ipkg-utils/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/openwrt/toolchain/ipkg-utils/Makefile b/openwrt/toolchain/ipkg-utils/Makefile
index 9568e8f..0cfe3c0 100644
--- a/openwrt/toolchain/ipkg-utils/Makefile
+++ b/openwrt/toolchain/ipkg-utils/Makefile
@@ -31,9 +31,9 @@ $(PKG_BUILD_DIR)/.patched: $(PKG_BUILD_DIR)/.unpacked
$(STAGING_DIR)/usr/bin/ipkg-build: $(PKG_BUILD_DIR)/.patched
mkdir -p $(STAGING_DIR)/etc
- echo "dest root $(TARGET_DIR)" > $(STAGING_DIR)/etc/ipkg.conf
+ echo "dest root /" > $(STAGING_DIR)/etc/ipkg.conf
+ echo "option offline_root $(TARGET_DIR)" >> $(STAGING_DIR)/etc/ipkg.conf
mkdir -p $(STAGING_DIR)/usr/bin
- install -m0755 $(TARGET_DIR)/bin/ipkg $(STAGING_DIR)/usr/bin
install -m0755 $(PKG_BUILD_DIR)/ipkg-build $(STAGING_DIR)/usr/bin
install -m0755 $(PKG_BUILD_DIR)/ipkg-buildpackage $(STAGING_DIR)/usr/bin
install -m0755 $(PKG_BUILD_DIR)/ipkg-make-index $(STAGING_DIR)/usr/bin