From: Stefan Schmidt Date: Wed, 8 Dec 2010 11:59:51 +0000 (+0100) Subject: buglabs/dauber-feeds: Feed config for internal repos X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=343b243cf2e30d11ab3538cbf286d0c6adba2422;p=openembedded.git buglabs/dauber-feeds: Feed config for internal repos --- diff --git a/recipes/buglabs/dauber-feed-configs.bb b/recipes/buglabs/dauber-feed-configs.bb new file mode 100644 index 0000000000..b4333d1c46 --- /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"