mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-28 09:01:55 +02:00
sys-firmware/ipxe: Sync with Gentoo
It's from Gentoo commit 46fb943fda974af0a22f1852fed312deb90c2ecf.
This commit is contained in:
parent
5ba6601490
commit
00d393a47c
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
|
|
||||||
inherit savedconfig toolchain-funcs
|
inherit savedconfig secureboot toolchain-funcs
|
||||||
|
|
||||||
# for 1.21.1_p20230601
|
# for 1.21.1_p20230601
|
||||||
COMMIT_SHA1="4fa4052c7ebb59e4d4aa396f1563c89118623ec7"
|
COMMIT_SHA1="4fa4052c7ebb59e4d4aa396f1563c89118623ec7"
|
||||||
@ -34,6 +34,12 @@ BDEPEND="
|
|||||||
x86? ( ${SOURCE_DEPEND} )
|
x86? ( ${SOURCE_DEPEND} )
|
||||||
)"
|
)"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
if use efi || use efi64; then
|
||||||
|
secureboot_pkg_setup
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
use binary && return
|
use binary && return
|
||||||
|
|
||||||
@ -123,5 +129,9 @@ src_install() {
|
|||||||
use usb && doins bin/*.usb
|
use usb && doins bin/*.usb
|
||||||
use lkrn && doins bin/*.lkrn
|
use lkrn && doins bin/*.lkrn
|
||||||
|
|
||||||
|
if use efi || use efi64; then
|
||||||
|
secureboot_auto_sign --in-place
|
||||||
|
fi
|
||||||
|
|
||||||
save_config config/local/general.h
|
save_config config/local/general.h
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user