Skip to content

Commit

Permalink
meta-webos-smack: layer.conf: Disable meta-security sanity check
Browse files Browse the repository at this point in the history
:Release Notes:
We're using only smack recipe from meta-security layer and don't
care about other features of this layer.

:Detailed Notes:
Prevents following warning shown in every build:
WARNING: You have included the meta-security layer, but 'security' has
not been enabled in your DISTRO_FEATURES. Some bbappend files and
preferred version setting may not take effect. See the meta-security
README for details on enabling security support.

Also depends on this fix:
https://lists.openembedded.org/g/openembedded-devel/message/92437

:Testing Performed:
Only build tested.

:QA Notes:
No change to image.

:Issues Addressed:
[PLAT-141293] Create GPVB with Yocto 3.4 Honister

Change-Id: Ife456116c7104a1b807f4754cd5179ebab997917
  • Loading branch information
shr-project committed Aug 5, 2021
1 parent bd2322c commit 92c6703
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions meta-webos-smack/conf/layer.conf
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend"

# Exclude unused recipies from meta-security, use only smack
BBMASK:append = " meta-security\/(?!.*\/smack\/).*"
# Disable the check added in: https://git.yoctoproject.org/cgit/cgit.cgi/meta-security/commit/?id=c1235f6affb5c38e64b3a04533b8388969b194b2
SKIP_META_SECURITY_SANITY_CHECK = "1"

PNBLACKLIST[crun] ?= "Depends on libseccomp which is provided by meta-security, but meta-webos-smack/conf/layer.conf BBMASKs everything from meta-security except smack itself"
PNBLACKLIST[slirp4netns] ?= "Depends on libseccomp which is provided by meta-security, but meta-webos-smack/conf/layer.conf BBMASKs everything from meta-security except smack itself"
Expand Down

0 comments on commit 92c6703

Please sign in to comment.