From: Nicolas Thill Date: Sun, 6 Mar 2005 11:00:35 +0000 (+0000) Subject: Add offline_root option to ipkg.conf X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fsvn-archive%2Farchive.git;a=commitdiff_plain;hb=fbba3d4eccc284de82da0f78c85c5fcfe4787de7 Add offline_root option to ipkg.conf SVN-Revision: 312 --- diff --git a/openwrt/toolchain/ipkg-utils/Makefile b/openwrt/toolchain/ipkg-utils/Makefile index 9568e8f758..0cfe3c06e4 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