dey: remove some default distro features

The removed distro features are mostly corner cases, not widely used,
and sometimes conflict with other packages serving the same purposes.

For example:

  * '3g' only adds ofono for cellular support, while we are
    using ModemManager.
  * 'nfc' adds 'neard' the NFC daemon (which at the moment we don't
    support)
  * 'zeroconf' adds 'avahi' package, but we are using NetworkManager
    instead to manage the network interfaces.
  * 'nfs' adds 'rpcbind' server, which is not needed at all to have
    an NFS mounted rootfs.

Needless to say that all those packages can be added to any image
without having the distro features enabled, or if preferred, you can add
the distro features back in the project's local.conf.

https://jira.digi.com/browse/DEL-3780

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
This commit is contained in:
Javier Viguera 2017-07-18 17:04:54 +02:00
parent 9903deaef8
commit 1ac992bf52
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC} ${POKY_DE
# Removed DISTRO_FEATURES
# 'wayland' -> not supported at the moment
# 'ptest' -> fails to build QT5 toolchain
DISTRO_FEATURES_DEFAULT_remove = "3g nfc nfs zeroconf"
POKY_DEFAULT_DISTRO_FEATURES_remove = "ptest wayland"
GRAPHICAL_BACKEND = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11', 'fb', d)}"