Skip to content
Snippets Groups Projects
Commit 1987326b authored by Marta Rybczynska's avatar Marta Rybczynska
Browse files

allscenarios-linux.conf: hardening, remove NFS

We do not use NFS in the image, nor in any of the blueprints. An unused service
is a potential security issue, so we remove it.

In addition to expected DISTRO_FEATURES/IMAGE_FEATURES, we need to remove a
dependency to the packagegroup-core-device-devel that includes nfs. This
package is included in poky.conf for all qemu builds, but is not needed and
has been removed from Poky [1] in August 2020.

[1] https://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=d707fa30f8a24d1e50831846330757254f245791



Signed-off-by: default avatarMarta Rybczynska <marta.rybczynska@huawei.com>
parent 6fb4409e
No related branches found
No related tags found
No related merge requests found
......@@ -19,7 +19,13 @@ GLIBCVERSION ?= "2.33%"
INIT_MANAGER = "systemd"
# Remove some of the default Poky DISTRO_FEATURES we inherited, but do not use.
DISTRO_FEATURES_remove = "nfc 3g pcmcia"
DISTRO_FEATURES_remove = " nfs nfc 3g pcmcia"
# Remove some of the default Poky IMAGE_FEATURES we inherited, but do not need.
IMAGE_FEATURES_remove = " nfs-server nfs-client nfs-utils"
# Remove some of the default Poky runtime dependencies that have no use
DISTRO_EXTRA_RDEPENDS_remove = " packagegroup-core-device-devel"
PREFERRED_VERSION_linux-yocto = "5.10%"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment