sys-boot/shim: Add the SBAT data to shim binary

Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
This commit is contained in:
Sayan Chowdhury 2024-09-06 00:34:41 +05:30 committed by James Le Cuirot
parent b8f290bae4
commit eef935e596
No known key found for this signature in database
GPG Key ID: 1226415D00DD3137
2 changed files with 2 additions and 0 deletions

View File

@ -0,0 +1 @@
shim.flatcar,1,Flatcar Container Linux,shim,15.8,security@flatcar-linux.org
1 shim.flatcar 1 Flatcar Container Linux shim 15.8 security@flatcar-linux.org

View File

@ -42,6 +42,7 @@ src_compile() {
emake_args+=( ARCH=aarch64 )
fi
emake_args+=( ENABLE_SBSIGN=1 )
emake_args+=( SBATPATH="${FILESDIR}/sbat.csv" )
if use official; then
if [ -z "${SHIM_SIGNING_CERTIFICATE}" ]; then