1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-24 22:35:11 +02:00

Add offline_root option to ipkg.conf

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@312 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nico 2005-03-06 11:00:35 +00:00
parent e45924e565
commit 66a6bceea3

View File

@ -31,9 +31,9 @@ $(PKG_BUILD_DIR)/.patched: $(PKG_BUILD_DIR)/.unpacked
$(STAGING_DIR)/usr/bin/ipkg-build: $(PKG_BUILD_DIR)/.patched $(STAGING_DIR)/usr/bin/ipkg-build: $(PKG_BUILD_DIR)/.patched
mkdir -p $(STAGING_DIR)/etc 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 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-build $(STAGING_DIR)/usr/bin
install -m0755 $(PKG_BUILD_DIR)/ipkg-buildpackage $(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 install -m0755 $(PKG_BUILD_DIR)/ipkg-make-index $(STAGING_DIR)/usr/bin