summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-core
diff options
context:
space:
mode:
authorPaul Barker <paul@paulbarker.me.uk>2014-12-21 22:08:09 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2014-12-31 16:35:35 +0100
commit45785617924bc5d6e16f23a695148c8abc488539 (patch)
tree13bdc2fa3d349816874772503c5e8cf36a903ea0 /meta-oe/recipes-core
parent47c7a58ab439dfd452c818af69645a415d3769f7 (diff)
downloadmeta-openembedded-45785617924bc5d6e16f23a695148c8abc488539.tar.gz
distro-feed-configs: Make list of archs configurable
The list of architectures for which to emit feed configurations is now taken from the DISTRO_FEED_ARCHS variable. The default value for this variable is the list of architectures which was previously used. Thus in the default case nothing is changed, but DISTRO_FEED_ARCHS can now be overridden in local.conf. Signed-off-by: Paul Barker <paul@paulbarker.me.uk> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-core')
-rw-r--r--meta-oe/recipes-core/meta/distro-feed-configs.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-oe/recipes-core/meta/distro-feed-configs.bb b/meta-oe/recipes-core/meta/distro-feed-configs.bb
index dde86569e..ea5ca3848 100644
--- a/meta-oe/recipes-core/meta/distro-feed-configs.bb
+++ b/meta-oe/recipes-core/meta/distro-feed-configs.bb
@@ -5,10 +5,11 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384
5 5
6DISTRO_FEED_PREFIX ?= "remote" 6DISTRO_FEED_PREFIX ?= "remote"
7DISTRO_FEED_URI ?= "http://my-distribution.example/remote-feed/" 7DISTRO_FEED_URI ?= "http://my-distribution.example/remote-feed/"
8DISTRO_FEED_ARCHS ?= "all ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}"
8 9
9do_compile() { 10do_compile() {
10 mkdir -p ${S}/${sysconfdir}/opkg 11 mkdir -p ${S}/${sysconfdir}/opkg
11 for feed in all ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}; do 12 for feed in ${DISTRO_FEED_ARCHS}; do
12 echo "src/gz ${DISTRO_FEED_PREFIX}-${feed} ${DISTRO_FEED_URI}/${feed}" > ${S}/${sysconfdir}/opkg/${feed}-feed.conf 13 echo "src/gz ${DISTRO_FEED_PREFIX}-${feed} ${DISTRO_FEED_URI}/${feed}" > ${S}/${sysconfdir}/opkg/${feed}-feed.conf
13 done 14 done
14} 15}