summaryrefslogtreecommitdiff
path: root/packages/angstrom/angstrom-feed-configs.bb
diff options
context:
space:
mode:
authorJunqian Gordon Xu <xjqian@gmail.com>2008-03-19 04:27:49 +0000
committerJunqian Gordon Xu <xjqian@gmail.com>2008-03-19 04:27:49 +0000
commitebc0c581d446761ece1729a4b9b2c66359eb20dc (patch)
tree27f604403ad94491fb31e383d46b3dc9d344fe15 /packages/angstrom/angstrom-feed-configs.bb
parent776b2b1a7bfdedb15ad376e28c098f76c9526f33 (diff)
parentc2af9efd62f1cf1dc2aafa39fdd68cfb8a14ac1e (diff)
merge of '173acf0910a1de8997f933a70422e802d5cea267'
and '26409b38a6c1f3c87a0e717bac4510cd2c57d12e'
Diffstat (limited to 'packages/angstrom/angstrom-feed-configs.bb')
-rw-r--r--packages/angstrom/angstrom-feed-configs.bb33
1 files changed, 14 insertions, 19 deletions
diff --git a/packages/angstrom/angstrom-feed-configs.bb b/packages/angstrom/angstrom-feed-configs.bb
index d0465b4d53..0b17aa6cb8 100644
--- a/packages/angstrom/angstrom-feed-configs.bb
+++ b/packages/angstrom/angstrom-feed-configs.bb
@@ -1,7 +1,7 @@
DESCRIPTION = "Configuration files for online package repositories aka feeds"
#PV = "${DISTRO_VERSION}"
-PR = "r4"
+PR = "r5"
PACKAGE_ARCH = "${MACHINE_ARCH}"
FEED_BASEPATH ?= "unstable/feed/"
@@ -9,37 +9,32 @@ FEED_BASEPATH ?= "unstable/feed/"
IWMMXT_FEED = "${@base_contains('MACHINE_FEATURES', 'iwmmxt', 'iwmmxt', '',d)}"
do_compile() {
- mkdir -p ${S}/${sysconfdir}/ipkg
+ mkdir -p ${S}/${sysconfdir}/opkg
for feed in base debug perl python gstreamer ; do
- echo "src/gz ${feed} ${ANGSTROM_URI}/${FEED_BASEPATH}${FEED_ARCH}/${feed}" > ${S}/${sysconfdir}/ipkg/${feed}-feed.conf
+ echo "src/gz ${feed} ${ANGSTROM_URI}/${FEED_BASEPATH}${FEED_ARCH}/${feed}" > ${S}/${sysconfdir}/opkg/${feed}-feed.conf
done
- echo "src/gz ${MACHINE_ARCH} ${ANGSTROM_URI}/${FEED_BASEPATH}${FEED_ARCH}/machine/${MACHINE_ARCH}" > ${S}/${sysconfdir}/ipkg/${MACHINE_ARCH}-feed.conf
- echo "src/gz no-arch ${ANGSTROM_URI}/${FEED_BASEPATH}/all" > ${S}/${sysconfdir}/ipkg/noarch-feed.conf
+ echo "src/gz ${MACHINE_ARCH} ${ANGSTROM_URI}/${FEED_BASEPATH}${FEED_ARCH}/machine/${MACHINE_ARCH}" > ${S}/${sysconfdir}/opkg/${MACHINE_ARCH}-feed.conf
+ echo "src/gz no-arch ${ANGSTROM_URI}/${FEED_BASEPATH}/all" > ${S}/${sysconfdir}/opkg/noarch-feed.conf
# iwmmxt is a special case, add the iwmmxt feed for machine that have 'iwmmxt' in MACHINE_FEATURES
if [ "${IWMMXT_FEED}" = "iwmmxt" ] ; then
- echo "src/gz iwmmxt ${ANGSTROM_URI}/${FEED_BASEPATH}iwmmxt/base" > ${S}/${sysconfdir}/ipkg/iwmmxt-feed.conf
+ echo "src/gz iwmmxt ${ANGSTROM_URI}/${FEED_BASEPATH}iwmmxt/base" > ${S}/${sysconfdir}/opkg/iwmmxt-feed.conf
fi
}
do_install () {
- install -d ${D}${sysconfdir}/ipkg
- install -m 0644 ${S}/${sysconfdir}/ipkg/* ${D}${sysconfdir}/ipkg/
- # opkg compat symlinks
install -d ${D}${sysconfdir}/opkg
- for feed in ${D}${sysconfdir}/ipkg/* ; do
- ln -sf ${sysconfdir}/ipkg/$(basename $feed) ${D}${sysconfdir}/opkg/$(basename $feed)
- done
+ install -m 0644 ${S}/${sysconfdir}/opkg/* ${D}${sysconfdir}/opkg/
}
-CONFFILES_${PN} += "${sysconfdir}/ipkg/base-feed.conf \
- ${sysconfdir}/ipkg/debug-feed.conf \
- ${sysconfdir}/ipkg/perl-feed.conf \
- ${sysconfdir}/ipkg/python-feed.conf \
- ${sysconfdir}/ipkg/gstreamer-feed.conf \
- ${sysconfdir}/ipkg/${MACHINE_ARCH}-feed.conf \
- ${sysconfdir}/ipkg/noarch-feed.conf \
+CONFFILES_${PN} += "${sysconfdir}/opkg/base-feed.conf \
+ ${sysconfdir}/opkg/debug-feed.conf \
+ ${sysconfdir}/opkg/perl-feed.conf \
+ ${sysconfdir}/opkg/python-feed.conf \
+ ${sysconfdir}/opkg/gstreamer-feed.conf \
+ ${sysconfdir}/opkg/${MACHINE_ARCH}-feed.conf \
+ ${sysconfdir}/opkg/noarch-feed.conf \
"