summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-07-09 07:09:44 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-07-09 07:09:44 +0000
commitfb684d26f36d526a75b7fad01fe8175007e6be07 (patch)
tree79fc1e0a1aeac411cd1abd1ed497c5d88a6ae6a5 /package
parentd444a280c23c3e77b01d6740b09a9d786979b4dd (diff)
downloadmtk-20170518-fb684d26f36d526a75b7fad01fe8175007e6be07.zip
mtk-20170518-fb684d26f36d526a75b7fad01fe8175007e6be07.tar.gz
mtk-20170518-fb684d26f36d526a75b7fad01fe8175007e6be07.tar.bz2
add second package source for packages built from the /packages repository fix up first package source (should be release, not snapshots on 7.07)
SVN-Revision: 7897
Diffstat (limited to 'package')
-rw-r--r--package/base-files/Makefile4
-rw-r--r--package/base-files/files/etc/ipkg.conf3
2 files changed, 4 insertions, 3 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index eadfb9b..64c3ead 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/kernel.mk
PKG_NAME:=base-files
-PKG_RELEASE:=8
+PKG_RELEASE:=9
PKG_BUILD_DIR:=$(KERNEL_BUILD_DIR)/$(PKG_NAME)
PKG_FILE_DEPEND:=$(PLATFORM_DIR)/ $(GENERIC_PLATFORM_DIR)/base-files/
@@ -130,7 +130,7 @@ define Package/base-files$(TARGET)/install
fi; \
fi
$(SED) 's,$$$$R,r$(REV),g' $(1)/etc/banner
- $(SED) 's,$$$$S,$(BOARD)-$(KERNEL),g' $(1)/etc/ipkg.conf
+ $(SED) 's,$$$$S,$(BOARD)-$(KERNEL),g' -e 's,$$$$A,$(ARCH),g' $(1)/etc/ipkg.conf
mkdir -p $(1)/dev
mkdir -p $(1)/etc/crontabs
mkdir -p $(1)/jffs
diff --git a/package/base-files/files/etc/ipkg.conf b/package/base-files/files/etc/ipkg.conf
index 2931d2c..6f5f3e1 100644
--- a/package/base-files/files/etc/ipkg.conf
+++ b/package/base-files/files/etc/ipkg.conf
@@ -1,3 +1,4 @@
-src snapshots http://openwrt.org/downloads/snapshots/$S/packages
+src snapshots http://downloads.openwrt.org/snapshots/$S/packages
+src packages http://downloads.openwrt.org/kamikaze/packages/$A
dest root /
dest ram /tmp