[oe-commits] Stefan Schmidt : buglabs/repo-feeds: Feed configs for external use

git version control git at git.openembedded.org
Wed Feb 9 09:35:03 UTC 2011


Module: openembedded.git
Branch: master
Commit: 0e9b38a840f219edf39b3ed1c6b493e1519fbfbf
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=0e9b38a840f219edf39b3ed1c6b493e1519fbfbf

Author: Stefan Schmidt <stefan at buglabs.net>
Date:   Wed Dec  8 13:00:23 2010 +0100

buglabs/repo-feeds: Feed configs for external use

---

 recipes/buglabs/repo-feed-configs.bb |   24 ++++++++++++++++++++++++
 1 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/recipes/buglabs/repo-feed-configs.bb b/recipes/buglabs/repo-feed-configs.bb
new file mode 100644
index 0000000..d2060f7
--- /dev/null
+++ b/recipes/buglabs/repo-feed-configs.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "Configuration files for public online package repositories aka feeds."
+HOMEPAGE="http://repo.buglabs.net/"
+PR = "r1"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+FEED_BASEPATH = "2.0/"
+
+do_compile() {
+	mkdir -p ${S}/${sysconfdir}/opkg
+
+	for feed in all armv7a bug20 ; do
+		  echo "src/gz repo-${feed} http://repo.buglabs.net/${FEED_BASEPATH}${feed}" > ${S}/${sysconfdir}/opkg/repo-${feed}-feed.conf
+	done
+}
+
+
+do_install () {
+	install -d ${D}${sysconfdir}/opkg
+	install -m 0644  ${S}/${sysconfdir}/opkg/* ${D}${sysconfdir}/opkg/
+}
+
+FILES_${PN} = "${sysconfdir}/opkg/"
+
+CONFFILES_${PN} += "${sysconfdir}/opkg/*.conf"





More information about the Openembedded-commits mailing list