From 0e9b38a840f219edf39b3ed1c6b493e1519fbfbf Mon Sep 17 00:00:00 2001 From: Stefan Schmidt Date: Wed, 8 Dec 2010 13:00:23 +0100 Subject: buglabs/repo-feeds: Feed configs for external use --- recipes/buglabs/repo-feed-configs.bb | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 recipes/buglabs/repo-feed-configs.bb (limited to 'recipes/buglabs') diff --git a/recipes/buglabs/repo-feed-configs.bb b/recipes/buglabs/repo-feed-configs.bb new file mode 100644 index 0000000000..d2060f70e0 --- /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" -- cgit 1.2.3-korg