From 66a6bceea36ea0c94760df574609af7a65dcea73 Mon Sep 17 00:00:00 2001 From: nico Date: Sun, 6 Mar 2005 11:00:35 +0000 Subject: [PATCH] Add offline_root option to ipkg.conf git-svn-id: svn://svn.openwrt.org/openwrt/trunk@312 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/toolchain/ipkg-utils/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openwrt/toolchain/ipkg-utils/Makefile b/openwrt/toolchain/ipkg-utils/Makefile index 9568e8f75..0cfe3c06e 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 -- 2.20.1