blob: 0b6f5309b365587b0a97586afc01660cef332f19 [file] [log] [blame]
Stefan Berger849bfcd2023-03-28 10:05:15 -04001FILESEXTRAPATHS:append := "${THISDIR}/linux:"
2
3SRC_URI += " \
4 ${@bb.utils.contains('DISTRO_FEATURES', 'ima', 'file://ima.scc', '', d)} \
5"
6
7do_configure() {
8 sed -i "s|^CONFIG_SYSTEM_TRUSTED_KEYS=.*|CONFIG_SYSTEM_TRUSTED_KEYS=\"${IMA_EVM_ROOT_CA}\"|" .config
9}
Andrew Geisslera1a6aef2021-06-25 14:23:58 -050010
Patrick Williams213cb262021-08-07 19:21:33 -050011KERNEL_FEATURES:append = " ${@bb.utils.contains('DISTRO_FEATURES', 'modsign', ' features/ima/modsign.scc', '', d)}"
Andrew Geisslera1a6aef2021-06-25 14:23:58 -050012
13inherit ${@bb.utils.contains('DISTRO_FEATURES', 'modsign', 'kernel-modsign', '', d)}