mirror of
https://github.com/jiazhang0/meta-secure-core.git
synced 2026-07-16 12:47:00 +00:00
README: Clarify local.conf required changes for IMA
- You must ensure that RPM is used in PACKAGE_CLASSES. - We need to remove image-prelink from USER_CLASSES. Prelinking the image at creation time (as happens on x86/x86_64) will result in the IMA hash of files changing from the recorded signature and verification will fail. Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
@@ -79,6 +79,7 @@ DISTRO_FEATURES_NATIVE_append += "systemd ima tpm tpm2 efi-secure-boot luks"
|
||||
DISTRO_FEATURES_append += "systemd ima tpm tpm2 efi-secure-boot luks modsign"
|
||||
MACHINE_FEATURES_NATIVE_append += "efi"
|
||||
MACHINE_FEATURES_append += "efi"
|
||||
PACKAGE_CLASSES = "package_rpm"
|
||||
INHERIT += "sign_rpm_ext"
|
||||
SECURE_CORE_IMAGE_EXTRA_INSTALL ?= "\
|
||||
packagegroup-efi-secure-boot \
|
||||
@@ -89,6 +90,7 @@ SECURE_CORE_IMAGE_EXTRA_INSTALL ?= "\
|
||||
"
|
||||
DEBUG_FLAGS_forcevariable = ""
|
||||
IMAGE_INSTALL += "kernel-image-bzimage"
|
||||
USER_CLASSES_remove = "image-prelink"
|
||||
|
||||
III. Build meta-secure-core
|
||||
===========================
|
||||
|
||||
Reference in New Issue
Block a user