From 45785617924bc5d6e16f23a695148c8abc488539 Mon Sep 17 00:00:00 2001 From: Paul Barker Date: Sun, 21 Dec 2014 22:08:09 +0000 Subject: 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 Signed-off-by: Martin Jansa --- meta-oe/recipes-core/meta/distro-feed-configs.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 } -- cgit 1.2.3-korg