Skip to content
Snippets Groups Projects

oniro-linux.conf: Rethink how DISTRO_FEATURES/IMAGE_FEATURES are defined

Merged Eilís Ní Fhlannagáin requested to merge pidge/oniro:distro_features into kirkstone
Files
2
@@ -23,6 +23,10 @@ ONIRO_DEFAULT_DISTRO_FEATURES = "largefile opengl ptest multiarch pam rauc secur
ONIRO_DEFAULT_EXTRA_RDEPENDS = "packagegroup-core-boot"
ONIRO_DEFAULT_EXTRA_RRECOMMENDS = "kernel-module-af-packet"
# Remove some of the default Poky DISTRO_FEATURES_DEFAULT we inherited, but do not use.
# Removing this here allows us to readd them, if the end user requires them.
DISTRO_FEATURES_DEFAULT:remove = " nfs nfc 3g pcmcia x11"
DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${ONIRO_DEFAULT_DISTRO_FEATURES}"
SDK_NAME = "${DISTRO}-${TCLIBC}-${SDKMACHINE}-${IMAGE_BASENAME}-${TUNE_PKGARCH}-${MACHINE}"
@@ -63,12 +67,6 @@ TCLIBC = "musl"
INIT_MANAGER = "systemd"
# Remove some of the default Poky DISTRO_FEATURES we inherited, but do not use.
DISTRO_FEATURES:remove = " nfs nfc 3g pcmcia x11"
# Remove some of the default Poky IMAGE_FEATURES we inherited, but do not need.
IMAGE_FEATURES:remove = " nfs-server nfs-client nfs-utils"
PREFERRED_VERSION_linux-yocto = "5.10%"
PREFERRED_PROVIDER_virtual/kernel:qemuarm = "linux-oniro"
PREFERRED_PROVIDER_virtual/kernel:qemuarm64 = "linux-oniro"
Loading