aboutsummaryrefslogtreecommitdiffstats
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
parent47c7a58ab439dfd452c818af69645a415d3769f7 (diff)
downloadmeta-openembedded-contrib-45785617924bc5d6e16f23a695148c8abc488539.tar.gz
meta-openembedded-contrib-45785617924bc5d6e16f23a695148c8abc488539.tar.bz2
meta-openembedded-contrib-45785617924bc5d6e16f23a695148c8abc488539.zip
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>
-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 dde86569e7..ea5ca38486 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
DISTRO_FEED_PREFIX ?= "remote"
DISTRO_FEED_URI ?= "http://my-distribution.example/remote-feed/"
+DISTRO_FEED_ARCHS ?= "all ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}"
do_compile() {
mkdir -p ${S}/${sysconfdir}/opkg
- for feed in all ${PACKAGE_EXTRA_ARCHS} ${MACHINE_ARCH}; do
+ for feed in ${DISTRO_FEED_ARCHS}; do
echo "src/gz ${DISTRO_FEED_PREFIX}-${feed} ${DISTRO_FEED_URI}/${feed}" > ${S}/${sysconfdir}/opkg/${feed}-feed.conf
done
}