[oe-commits] Stefan Schmidt : buglabs/dauber-feeds: Feed config for internal repos

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


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

Author: Stefan Schmidt <stefan at buglabs.net>
Date:   Wed Dec  8 12:59:51 2010 +0100

buglabs/dauber-feeds: Feed config for internal repos

---

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

diff --git a/recipes/buglabs/dauber-feed-configs.bb b/recipes/buglabs/dauber-feed-configs.bb
new file mode 100644
index 0000000..b4333d1
--- /dev/null
+++ b/recipes/buglabs/dauber-feed-configs.bb
@@ -0,0 +1,24 @@
+DESCRIPTION = "Configuration files for online package repositories aka feeds"
+
+PR = "r1"
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+FEED_BASEPATH = "buildbot/trunk/incremental/feeds/"
+
+do_compile() {
+	mkdir -p ${S}/${sysconfdir}/opkg
+
+	for feed in all armv7a bug20 ; do
+		  echo "src/gz dauber-${feed} http://dauber/${FEED_BASEPATH}${feed}" > ${S}/${sysconfdir}/opkg/dauber-${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