summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2019-04-04 12:54:34 +0800
committerYixun Lan <dlan@gentoo.org>2019-04-04 12:55:45 +0800
commit0887e98f46b36f78df9ef8b2c827455ad86f7800 (patch)
tree3c1c16a2c779339f1747de8bfb35b333debfdb61 /app-emulation/xen-tools
parentsys-apps/dbus: move stuff under /run on linux (diff)
downloadgentoo-0887e98f46b36f78df9ef8b2c827455ad86f7800.tar.gz
gentoo-0887e98f46b36f78df9ef8b2c827455ad86f7800.tar.bz2
gentoo-0887e98f46b36f78df9ef8b2c827455ad86f7800.zip
app-emulation/xen-tools: bump edk2/seabios for 4.12.0
Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'app-emulation/xen-tools')
-rw-r--r--app-emulation/xen-tools/xen-tools-4.12.0.ebuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/app-emulation/xen-tools/xen-tools-4.12.0.ebuild b/app-emulation/xen-tools/xen-tools-4.12.0.ebuild
index 6b2195b87b87..f68edb0a8ddf 100644
--- a/app-emulation/xen-tools/xen-tools-4.12.0.ebuild
+++ b/app-emulation/xen-tools/xen-tools-4.12.0.ebuild
@@ -24,11 +24,10 @@ else
# xen-tools's gentoo patches version which apply to this specific ebuild
GENTOO_GPV=0
# xen-tools ovmf's patches
- OVMF_VER=3
+ OVMF_VER=
SEABIOS_VER=1.12.0
- # OVMF upstream 5920a9d16b1ab887c2858224316a98e961d71b05
- OVMF_PV=20170321
+ EDK2_COMMIT=ef529e6ab7c31290a33045bb1f1837447cc0eb56
[[ -n ${UPSTREAM_VER} ]] && \
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz
@@ -43,8 +42,7 @@ else
SRC_URI="https://downloads.xenproject.org/release/xen/${MY_PV}/xen-${MY_PV}.tar.gz
https://www.seabios.org/downloads/seabios-${SEABIOS_VER}.tar.gz
- https://dev.gentoo.org/~dlan/distfiles/seabios-${SEABIOS_VER}.tar.gz
- ovmf? ( https://dev.gentoo.org/~dlan/distfiles/ovmf-${OVMF_PV}.tar.xz
+ ovmf? ( https://github.com/tianocore/edk2/archive/${EDK2_COMMIT}.tar.gz -> edk2-${EDK2_COMMIT}.tar.gz
${OVMF_PATCHSET_URI} )
${UPSTREAM_PATCHSET_URI}
${SECURITY_PATCHSET_URI}
@@ -236,11 +234,12 @@ src_prepare() {
if use ovmf; then
if [[ -n ${OVMF_VER} ]];then
einfo "Try to apply Ovmf patch set"
- pushd "${WORKDIR}"/ovmf-*/ > /dev/null
+ pushd "${WORKDIR}"/edk2-*/ > /dev/null
eapply "${WORKDIR}"/patches-ovmf
popd > /dev/null
fi
- mv ../ovmf-${OVMF_PV} tools/firmware/ovmf-dir-remote || die
+ mv ../edk2-${EDK2_COMMIT} tools/firmware/ovmf-dir-remote || die
+ cp tools/firmware/ovmf-makefile tools/firmware/ovmf-dir-remote/Makefile || die
fi
mv tools/qemu-xen/qemu-bridge-helper.c tools/qemu-xen/xen-bridge-helper.c || die