mirror of
https://github.com/edera-dev/sprout.git
synced 2026-03-24 17:10:17 +00:00
chore(code): sbat section generator build tool
This commit is contained in:
6
crates/build/src/sbat.template.rs
Normal file
6
crates/build/src/sbat.template.rs
Normal file
@@ -0,0 +1,6 @@
|
||||
/// Define the SBAT attestation by including the sbat.csv file.
|
||||
/// See this document for more details: https://github.com/rhboot/shim/blob/main/SBAT.md
|
||||
/// NOTE: This data must be aligned by 512 bytes.
|
||||
#[used]
|
||||
#[unsafe(link_section = ".sbat")]
|
||||
static SBAT: [u8; {size}] = *include_bytes!(concat!(env!("OUT_DIR"), "/sbat.out"));
|
||||
Reference in New Issue
Block a user