mirror of
https://github.com/flatcar/scripts.git
synced 2026-03-03 20:41:16 +01:00
fix
Signed-off-by: Sayan Chowdhury <schowdhury@microsoft.com>
This commit is contained in:
parent
7a2e5b67b9
commit
35d792f550
@ -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
|
||||
}
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user