1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 00:20:08 +00:00

selftest/container: fix IMAGE_FEATURES assignment

Assigning IMAGE_FEATURES="" in local.conf doesn't actually do anything
useful, as bitbake.conf has IMAGE_FEATURES += EXTRA_IMAGE_FEATURES after
the include of local.conf.

In this test case, this results in IMAGE_FEATURES still using
EXTRA_IMAGE_FEATURES, so the image contains the files installed by the
post-install-logging feature.

As the intention here is that container-test-image is as minimal as
possible, move the IMAGE_FEATURES assignment into the image itself so
it actually works, and update the expected file list to remove the
post-install-logging files.

(From OE-Core rev: c65349e1238ddc6634dfa4759c57e6168a355200)

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2024-11-05 19:48:54 +00:00
committed by Richard Purdie
parent f3f838a6d3
commit 109fe2eade
2 changed files with 1 additions and 3 deletions
@@ -4,5 +4,6 @@ LICENSE = "MIT"
IMAGE_FSTYPES = "container"
IMAGE_LINGUAS = ""
IMAGE_FEATURES = ""
inherit core-image