mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-21 14:31:02 +02:00
Add shim
We need shim available in order to provide image verification support in grub.
This commit is contained in:
parent
b5b169fca9
commit
51e00171b1
@ -31,6 +31,7 @@ DEPEND="
|
||||
sys-apps/debianutils
|
||||
sys-apps/iproute2
|
||||
sys-boot/grub
|
||||
sys-boot/shim
|
||||
sys-devel/crossdev
|
||||
sys-firmware/edk2-ovmf
|
||||
sys-fs/btrfs-progs
|
||||
|
1
sdk_container/src/third_party/coreos-overlay/sys-boot/shim/shim-0.8_p20150423.ebuild
vendored
Symbolic link
1
sdk_container/src/third_party/coreos-overlay/sys-boot/shim/shim-0.8_p20150423.ebuild
vendored
Symbolic link
@ -0,0 +1 @@
|
||||
shim-9999.ebuild
|
39
sdk_container/src/third_party/coreos-overlay/sys-boot/shim/shim-9999.ebuild
vendored
Normal file
39
sdk_container/src/third_party/coreos-overlay/sys-boot/shim/shim-9999.ebuild
vendored
Normal file
@ -0,0 +1,39 @@
|
||||
# Copyright 2015 CoreOS, Inc.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
CROS_WORKON_PROJECT="coreos/shim"
|
||||
CROS_WORKON_REPO="git://github.com"
|
||||
|
||||
if [[ "${PV}" == 9999 ]]; then
|
||||
KEYWORDS="~amd64"
|
||||
else
|
||||
CROS_WORKON_COMMIT="03a1513b0985fd682b13a8d29fe3f1314a704c66"
|
||||
KEYWORDS="amd64"
|
||||
fi
|
||||
|
||||
inherit cros-workon
|
||||
|
||||
DESCRIPTION="UEFI Shim loader"
|
||||
HOMEPAGE="https://github.com/rhinstaller/shim"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND=""
|
||||
DEPEND="sys-boot/gnu-efi dev-libs/openssl"
|
||||
|
||||
src_unpack() {
|
||||
cros-workon_src_unpack
|
||||
default_src_unpack
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
make EFI_PATH=/usr/lib shim.efi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/lib/shim
|
||||
doins "shim.efi"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user