aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/ipkg-utils
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
commit30669cd9be45c062f98f8d2ce45a7f361a81a767 (patch)
tree44294f9bc88447f12e844cf2b373d7c57e9ca920 /toolchain/ipkg-utils
parent9fb03b3c626c5360e9fa77c95768641040774838 (diff)
downloadupstream-30669cd9be45c062f98f8d2ce45a7f361a81a767.tar.gz
upstream-30669cd9be45c062f98f8d2ce45a7f361a81a767.tar.bz2
upstream-30669cd9be45c062f98f8d2ce45a7f361a81a767.zip
Add offline_root option to ipkg.conf
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@312 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'toolchain/ipkg-utils')
-rw-r--r--toolchain/ipkg-utils/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolchain/ipkg-utils/Makefile b/toolchain/ipkg-utils/Makefile
index 9568e8f758..0cfe3c06e4 100644
--- a/toolchain/ipkg-utils/Makefile
+++ b/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