diff options
author | Stefan Schmidt <stefan@buglabs.net> | 2010-12-08 13:00:23 +0100 |
---|---|---|
committer | Stefan Schmidt <stefan@buglabs.net> | 2011-02-09 10:33:47 +0100 |
commit | 0e9b38a840f219edf39b3ed1c6b493e1519fbfbf (patch) | |
tree | ca772b787f9ddc7b57d55501f0a1f14f45ffb0c6 /recipes | |
parent | b7e1882fe3e9f5f10f7737b5038ce1d7346107c2 (diff) | |
download | openembedded-0e9b38a840f219edf39b3ed1c6b493e1519fbfbf.tar.gz |
buglabs/repo-feeds: Feed configs for external use
Diffstat (limited to 'recipes')
-rw-r--r-- | 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 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" |