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:
Michael Marineau 2014-11-05 15:47:54 -08:00
parent 2bd4c6a7be
commit 7bafeb9b93

View File

@ -11,7 +11,7 @@ HOMEPAGE="http://tianocore.sourceforge.net"
LICENSE="BSD-2"
SLOT="0"
IUSE="debug +qemu secure-boot"
IUSE="debug +qemu +secure-boot"
if [[ ${PV} == 99999 ]]; then
inherit subversion
@ -77,8 +77,9 @@ src_compile() {
}
src_install() {
local fv="Build/OvmfX64/${TARGET_NAME}_${TARGET_TOOLS}/FV"
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
if use qemu; then