poky.conf: Don't force the addition of extra DISTRO_FEATURES
PATCH 1/1 poky.conf: Don't force the addition of extra DISTRO_FEATURES
The DISTRO_FEATURES shouldn't unconditionally append items to it. This makes it impossible to override it inside of local.conf or in a distro based on Poky.
This moved the definition to poky.conf and created a new variable (POKY_DEFAULT_DISTRO_FEATURES) which easy overriding of this, for Poky based distros.
--- meta-yocto/conf/distro/poky.conf | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-)
meta-yocto/conf/distro/poky.conf +6 -5
@@ -12,7 +12,12 @@ TARGET_VENDOR = "-poky" LOCALCONF_VERSION = "1" LAYER_CONF_VERSION ?= "6" -DISTRO_FEATURES_append = " largefile opengl multiarch wayland" +# Override these in poky based distros +POKY_DEFAULT_DISTRO_FEATURES = "largefile opengl multiarch wayland" +POKY_DEFAULT_EXTRA_RDEPENDS = "packagegroup-core-boot" +POKY_DEFAULT_EXTRA_RRECOMMENDS = "kernel-module-af-packet" + +DISTRO_FEATURES ?= "alsa argp bluetooth ext2 irda largefile pcmcia usbgadget usbhost wifi xattr nfs zeroconf pci 3g nfc x11 ${DISTRO_FEATURES_LIBC} ${POKY_DEFAULT_DISTRO_FEATURES}" PREFERRED_VERSION_linux-yocto ?= "3.4%" PREFERRED_VERSION_linux-yocto_qemux86 ?= "3.8%"
@@ -27,10 +32,6 @@ SDKPATH = "/opt/${DISTRO}/${SDK_VERSION}" EXTRAOPKGCONFIG = "poky-feed-config-opkg" -# Override these in poky based distros to modify DISTRO_EXTRA_R* -POKY_DEFAULT_EXTRA_RDEPENDS = "packagegroup-core-boot" -POKY_DEFAULT_EXTRA_RRECOMMENDS = "kernel-module-af-packet" - DISTRO_EXTRA_RDEPENDS += " ${POKY_DEFAULT_EXTRA_RDEPENDS}" DISTRO_EXTRA_RRECOMMENDS += " ${POKY_DEFAULT_EXTRA_RRECOMMENDS}"
Signature · 1 line
1.8.3.2
Quoted 9 lines · Otavio Salvador
The
DISTRO_FEATURESshouldn't unconditionally append items to it. This makes it impossible to override it inside of local.conf or in a distro based on Poky.This moved the definition to poky.conf and created a new variable (
POKY_DEFAULT_DISTRO_FEATURES) which easy overriding of this, for Poky based distros.Signed-off-by Otavio Salvador <[email protected]>
Saul,
Did you queued this one? Is there any feedback about this patch?
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://projetos.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750
Quoted 10 lines · Otavio Salvador
Quoted 8 lines · Otavio Salvador
The
DISTRO_FEATURESshouldn't unconditionally append items to it. This makes it impossible to override it inside of local.conf or in a distro based on Poky.This moved the definition to poky.conf and created a new variable (
POKY_DEFAULT_DISTRO_FEATURES) which easy overriding of this, for Poky based distros.
Quoted 6 lines
Quoted 1 line
Signed-off-by Otavio Salvador <[email protected]>Saul,
Did you queued this one? Is there any feedback about this patch?
This was missed becuase it went to the Yocto list not the [email protected] list.
I will queue it.
Sau!
Quoted 16 lines · Saul Wold
Quoted 15 lines · Otavio Salvador
Quoted 10 lines · Otavio Salvador
The
DISTRO_FEATURESshouldn't unconditionally append items to it. This makes it impossible to override it inside of local.conf or in a distro based on Poky.This moved the definition to poky.conf and created a new variable (
POKY_DEFAULT_DISTRO_FEATURES) which easy overriding of this, for Poky based distros.Signed-off-by Otavio Salvador <[email protected]>
Quoted 8 lines
Quoted 4 lines
Saul,
Did you queued this one? Is there any feedback about this patch?
This was missed becuase it went to the Yocto list not the [email protected] list.
I will queue it.
Arrg; -ETOOMANYLISTS! ;-)
Thanks
Signature · 3 lines
Otavio Salvador O.S. Systems http://www.ossystems.com.br http://projetos.ossystems.com.br Mobile: +55 (53) 9981-7854 Mobile: +1 (347) 903-9750