Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
This commit is contained in:
Sayan Chowdhury 2023-12-08 16:09:58 +05:30
parent 7a2e5b67b9
commit 35d792f550
No known key found for this signature in database
GPG Key ID: B02399319CD05C8B
5 changed files with 4 additions and 9 deletions

View File

@ -3,7 +3,7 @@
EAPI=7
DESCRIPTION="Flatcar Secure Boot keys"
DESCRIPTION="Flatshimr Secure Boot keys"
HOMEPAGE=""
SRC_URI=""
LICENSE="BSD"
@ -21,8 +21,7 @@ src_install() {
newins "${FILESDIR}/KEK.crt" KEK.crt
newins "${FILESDIR}/DB.key" DB.key
newins "${FILESDIR}/DB.crt" DB.crt
newins "${FILESDIR}/ca.key" ca.key
newins "${FILESDIR}/ca.der" ca.der
newins "${FILESDIR}/ca.pem" ca.pem
newins "
newins "${FILESDIR}/shim.key" shim.key
newins "${FILESDIR}/shim.der" shim.der
newins "${FILESDIR}/shim.pem" shim.pem
}

View File

@ -45,10 +45,6 @@ src_compile() {
# itself with the compiler -dumpmachine flag. But also it
# expects a different format of the values. It wants x86_64
# instead of amd64, and aarch64 instead of arm64.
insinto /usr/share/sb_keys
newins "${FILESDIR}/shim.der" shim.der
newins "${FILESDIR}/shim.rsa" shim.rsa
newins "${FILESDIR}/shim.pem" shim.pem
if use amd64; then
emake_args+=( ARCH=x86_64 )
elif use arm64; then