mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-20 22:11:39 +02:00
edk2: install split OVMF_CODE and OVMF_VARS images
Both OVMF and QEMU have gained support for splitting the combined OVMF image into two, now variable storage is its own file.
This commit is contained in:
parent
2bd4c6a7be
commit
7bafeb9b93
@ -11,7 +11,7 @@ HOMEPAGE="http://tianocore.sourceforge.net"
|
|||||||
|
|
||||||
LICENSE="BSD-2"
|
LICENSE="BSD-2"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
IUSE="debug +qemu secure-boot"
|
IUSE="debug +qemu +secure-boot"
|
||||||
|
|
||||||
if [[ ${PV} == 99999 ]]; then
|
if [[ ${PV} == 99999 ]]; then
|
||||||
inherit subversion
|
inherit subversion
|
||||||
@ -77,8 +77,9 @@ src_compile() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
|
local fv="Build/OvmfX64/${TARGET_NAME}_${TARGET_TOOLS}/FV"
|
||||||
insinto /usr/share/${PN}
|
insinto /usr/share/${PN}
|
||||||
doins Build/OvmfX64/${TARGET_NAME}_${TARGET_TOOLS}/FV/OVMF.fd
|
doins "${fv}"/OVMF{,_CODE,_VARS}.fd
|
||||||
dosym OVMF.fd /usr/share/${PN}/bios.bin
|
dosym OVMF.fd /usr/share/${PN}/bios.bin
|
||||||
|
|
||||||
if use qemu; then
|
if use qemu; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user