[oe-commits] org.oe.dev angstrom-feed-configs: a recipe that add config files for feeds

koen commit openembedded-commits at lists.openembedded.org
Sun Sep 2 19:45:44 UTC 2007


angstrom-feed-configs: a recipe that add config files for feeds
* this will replace the feeds in the distro.conf
* Derivative distro can provide their own version by overriding ANGSTROM_URI and FEED_BASEPATH
* WIP, suggestions welcome

Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: 0a5045efa2609655b6717431c477b9d997fa9dd1
ViewMTN: http://monotone.openembedded.org/revision.psp?id=0a5045efa2609655b6717431c477b9d997fa9dd1
Files:
1
packages/angstrom/angstrom-feed-configs.bb
Diffs:

#
# mt diff -r590d279325a1b053dab7388f0e925abeb50d744d -r0a5045efa2609655b6717431c477b9d997fa9dd1
#
# 
# 
# add_file "packages/angstrom/angstrom-feed-configs.bb"
#  content [0ea9d88230134ade107de738ba3400d561a97222]
# 
============================================================
--- packages/angstrom/angstrom-feed-configs.bb	0ea9d88230134ade107de738ba3400d561a97222
+++ packages/angstrom/angstrom-feed-configs.bb	0ea9d88230134ade107de738ba3400d561a97222
@@ -0,0 +1,23 @@
+DESCRIPTION = "Configuration files for online package repositories aka feeds"
+
+PR = "0"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+FEED_BASEPATH ?= "unstable/feed/"
+
+do_compile() {
+        mkdir -p ${S}/${sysconfdir}/ipkg
+	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
+	done
+
+        echo "src/gz ${MACHINE_ARCH} ${ANGSTROM_URI}/${FEED_BASEPATH}${FEED_ARCH}/${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
+}
+
+
+do_install () {
+        install -d ${D}${sysconfdir}/ipkg
+	install -m 0644  ${S}/${sysconfdir}/ipkg/* ${D}${sysconfdir}/ipkg/
+}
+






More information about the Openembedded-commits mailing list