diff options
author | Scott Murray <scott.murray@konsulko.com> | 2020-02-11 13:33:42 -0500 |
---|---|---|
committer | Jan-Simon Moeller <jsmoeller@linuxfoundation.org> | 2020-02-17 18:26:00 +0000 |
commit | 47aa65ba73e1b29459171de24fb0ee0040cbb39c (patch) | |
tree | 39f8011ee5379de7da33d5e650c929f4afcf9855 /meta-security/recipes-core/smack-system-setup | |
parent | c2be9fc72af87fb702ac2f7cecc56ad029f7bf94 (diff) |
meta-agl-bsp: Add CONFIG_LSM workaround for 5.1+ kernels
Add explicit clearing of CONFIG_LSM before running "make oldconfig"
in the do_configure_append added by linux-agl.inc. This ensures that
the derived value of CONFIG_LSM will reflect configuration changes
done by the merged AGL provided fragments, i.e. SMACK being enabled.
Without it, kernel recipes that are not based on linux-yocto.bbclass
or have their own fragment handling done via prepend will end up with
an incorrect value of CONFIG_LSM which effectively disables SMACK.
Examples include the linux-imx or linux-fslc kernels used by NXP.
Bug-AGL: SPEC-2932
Change-Id: Id99906e3de75128ebc54866d43d89d3a24bb1cf2
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Diffstat (limited to 'meta-security/recipes-core/smack-system-setup')
0 files changed, 0 insertions, 0 deletions