summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJanne Heß2017-04-07 13:03:15 +0200
committerJanne Heß2017-04-07 13:03:15 +0200
commit16894c15a19bfef23550ba09d58e097fe16c4792 (patch)
tree3f3cd45de36a8d1734af22168c40964f57d17edf
parentd9b8cc1c86a5372935bbf0267b459e5a0e5d91b3 (diff)
downloadaur-16894c15a19bfef23550ba09d58e097fe16c4792.tar.gz
XSA-212 and fixes for SeaBIOS/OVMF
-rw-r--r--.SRCINFO14
-rw-r--r--ChangeLog6
-rw-r--r--PKGBUILD33
-rw-r--r--ovmf.patch12
-rw-r--r--patch-gcc6-ovmf-build.sh.patch12
5 files changed, 15 insertions, 62 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3e63ff36d14c..fe4c20d2027a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Tue Mar 28 06:41:08 UTC 2017
+# Fri Apr 7 11:00:29 UTC 2017
pkgbase = xen
pkgdesc = Virtual Machine Hypervisor & Tools
pkgver = 4.8.0
- pkgrel = 5
+ pkgrel = 6
url = http://www.xenproject.org/
changelog = ChangeLog
arch = x86_64
@@ -47,10 +47,6 @@ pkgbase = xen
source = http://bits.xensource.com/oss-xen/release/4.8.0/xen-4.8.0.tar.gz
source = http://bits.xensource.com/oss-xen/release/4.8.0/xen-4.8.0.tar.gz.sig
source = http://xenbits.xen.org/xen-extfiles/ipxe-git-827dd1bfee67daa683935ce65316f7e0f057fe1c.tar.gz
- source = seabios::git://xenbits.xen.org/seabios.git#tag=rel-1.10.0
- source = ovmf::git://xenbits.xen.org/ovmf.git#tag=bc54e50e0fe03c570014f363b547426913e92449
- source = ovmf.patch
- source = patch-gcc6-ovmf-build.sh.patch
source = https://xenbits.xen.org/xsa/xsa203-4.8.patch
source = https://xenbits.xen.org/xsa/xsa204-4.8.patch
source = https://xenbits.xen.org/xsa/xsa207.patch
@@ -62,6 +58,7 @@ pkgbase = xen
source = https://xenbits.xen.org/xsa/xsa210.patch
source = https://xenbits.xen.org/xsa/xsa211-qemut.patch
source = https://xenbits.xen.org/xsa/xsa211-qemuu-4.8.patch
+ source = https://xenbits.xen.org/xsa/xsa212.patch
source = grub-mkconfig-helper
source = efi-xen.cfg
source = grub.conf
@@ -70,10 +67,6 @@ pkgbase = xen
sha256sums = 1e15c713ab7ba3bfda8b4a285ed973529364fd1100e6dd5a61f29583dc667b04
sha256sums = SKIP
sha256sums = 36deacb946c59ad1d6600f6e5b89d6a7a8961e65eb000900e184075920120f49
- sha256sums = SKIP
- sha256sums = SKIP
- sha256sums = 9cf9232c6e9a2b972cd4e1c7aacac9152bb8676db2b794381e1964c9f452e7de
- sha256sums = 6403a0478e3cfed91dcad53b5f02e71745c98d18ab53930f87aeff1da8d71d55
sha256sums = 4218fcfff11ec4788462a3ea9dddecb25b9d9fb1beaad17ca0f723b07b6675e4
sha256sums = fa2a69682868104b6263655abbfc6b326f76deebdac3273b4b65da6673f5d977
sha256sums = e9bcf807b3785ac4d78b621fba4a9395cd713d6e57cdaa66559bccf95ded1cd9
@@ -85,6 +78,7 @@ pkgbase = xen
sha256sums = 10e26c017c916dcac261c6a3c92656831f0ad037f792940e6faf6905c6e23861
sha256sums = 9d0cf413dcc9654ee95f6b04fa9c5714f36775cbc9ab0390a3041ec4a68845ab
sha256sums = bea7cf4065bd9d0085f4dfc3395e59c3ca9d4de9d786a3018c8dc7fd9f3d8b6e
+ sha256sums = be1255bcda06158cdb86eb5297e8a271e05318e88cd21035c58a67f9ada6ccba
sha256sums = 06c9f6140f7ef4ccfc4b1a7d9732a673313e269733180f53afcd9e43bf6c26bb
sha256sums = ceaff798a92a7aef1465a0a0b27b1817aedd2c857332b456aaa6dd78dc72438f
sha256sums = 3f0af16958c3e057b9baa5afc47050d9adf7dd553274dd97ae4f35938fefb568
diff --git a/ChangeLog b/ChangeLog
index 0c37d0d89f9c..9d757389104f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-04-07 Janne Heß
+ * 4.8.0-6
+ Remove last pieces of OVMF and SeaBIOS
+ Specify location of SeaBIOS
+ Apply XSA patch: 212
+
2017-03-28 Janne Heß
* 4.8.0-5
Split out SeaBIOS and OVMF
diff --git a/PKGBUILD b/PKGBUILD
index f46f52bae267..57b6dac94401 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -23,9 +23,6 @@ _build_stubdom=${build_stubdom:-false}
_xen_version='4.8.0'
_xen_major_version='4'
_xen_minor_version='8'
-# grep -R 'UPSTREAM_REVISION' src/xen-*/Config.mk
-_git_tag_seabios='#tag=rel-1.10.0'
-_git_tag_ovmf='#tag=bc54e50e0fe03c570014f363b547426913e92449'
# grep IPXE_GIT_TAG src/xen-*/tools/firmware/etherboot
_git_tag_ipxe='827dd1bfee67daa683935ce65316f7e0f057fe1c'
# grep '_VERSION=' src/xen-*/stubdom/configure
@@ -49,7 +46,7 @@ fi
pkgbase=xen
pkgname=(xen xen-docs)
pkgver="${_xen_version}"
-pkgrel=5
+pkgrel=6
pkgdesc='Virtual Machine Hypervisor & Tools'
url='http://www.xenproject.org/'
license=('GPL2')
@@ -100,15 +97,6 @@ source=(
"http://bits.xensource.com/oss-xen/release/${pkgver}/${pkgbase}-${pkgver}.tar.gz.sig"
"http://xenbits.xen.org/xen-extfiles/ipxe-git-${_git_tag_ipxe}.tar.gz"
- 'seabios'::"git://xenbits.xen.org/seabios.git${_git_tag_seabios}"
- 'ovmf'::"git://xenbits.xen.org/ovmf.git${_git_tag_ovmf}"
- # HTTP access
- #'seabios'::"git+http://xenbits.xen.org/git-http/seabios.git${_git_tag_seabios}"
-
- # Compile patches
- ovmf.patch
- patch-gcc6-ovmf-build.sh.patch
-
# XSA patches
'https://xenbits.xen.org/xsa/xsa203-4.8.patch'
'https://xenbits.xen.org/xsa/xsa204-4.8.patch'
@@ -121,6 +109,7 @@ source=(
'https://xenbits.xen.org/xsa/xsa210.patch'
'https://xenbits.xen.org/xsa/xsa211-qemut.patch'
'https://xenbits.xen.org/xsa/xsa211-qemuu-4.8.patch'
+ 'https://xenbits.xen.org/xsa/xsa212.patch'
# Files
'grub-mkconfig-helper'
@@ -149,11 +138,6 @@ sha256sums=(
'SKIP'
'36deacb946c59ad1d6600f6e5b89d6a7a8961e65eb000900e184075920120f49'
- 'SKIP'
- 'SKIP'
-
- '9cf9232c6e9a2b972cd4e1c7aacac9152bb8676db2b794381e1964c9f452e7de'
- '6403a0478e3cfed91dcad53b5f02e71745c98d18ab53930f87aeff1da8d71d55'
# XSA patches
'4218fcfff11ec4788462a3ea9dddecb25b9d9fb1beaad17ca0f723b07b6675e4'
'fa2a69682868104b6263655abbfc6b326f76deebdac3273b4b65da6673f5d977'
@@ -166,6 +150,7 @@ sha256sums=(
'10e26c017c916dcac261c6a3c92656831f0ad037f792940e6faf6905c6e23861'
'9d0cf413dcc9654ee95f6b04fa9c5714f36775cbc9ab0390a3041ec4a68845ab'
'bea7cf4065bd9d0085f4dfc3395e59c3ca9d4de9d786a3018c8dc7fd9f3d8b6e'
+ 'be1255bcda06158cdb86eb5297e8a271e05318e88cd21035c58a67f9ada6ccba'
# PKGBUILD files
'06c9f6140f7ef4ccfc4b1a7d9732a673313e269733180f53afcd9e43bf6c26bb'
'ceaff798a92a7aef1465a0a0b27b1817aedd2c857332b456aaa6dd78dc72438f'
@@ -211,9 +196,6 @@ prepare() {
cd "${srcdir}/${pkgbase}-${pkgver}"
msg2 'Copying downloaded files...'
- mkdir -p tools/firmware/{seabios,ovmf}-dir-remote/ tools/firmware/etherboot
- cp -r ../seabios/* tools/firmware/seabios-dir-remote/
- cp -r ../ovmf/* tools/firmware/ovmf-dir-remote/
cp "${srcdir}/ipxe-git-${_git_tag_ipxe}.tar.gz" tools/firmware/etherboot/ipxe.tar.gz
# XSA Patches
@@ -222,6 +204,7 @@ prepare() {
patch -Np1 -i "${srcdir}/xsa204-4.8.patch"
patch -Np1 -i "${srcdir}/xsa207.patch"
patch -Np1 -i "${srcdir}/xsa210.patch"
+ patch -Np1 -i "${srcdir}/xsa212.patch"
# qemu-xen-traditional
pushd 'tools/qemu-xen-traditional'
patch -Np1 -i "${srcdir}/xsa208-qemut.patch"
@@ -242,11 +225,6 @@ prepare() {
sed -i.bak 's/LD/LD_EFI/' xen/arch/x86/efi/Makefile
sed -i.bak '/EFI_MOUNTPOINT .*/aLD_EFI ?= $(LD)' xen/Makefile
- # OVMF Compile support (Pulls from git repo, so patching to patch after pull request)
- msg2 'Patching OVMF Python version...'
- patch -Np1 -i "${srcdir}/ovmf.patch"
- cp "${srcdir}/patch-gcc6-ovmf-build.sh.patch" tools/firmware/
-
# Fix Install Paths
msg2 'Fixing installation paths...'
sed -i 's:\$localstatedir/run/xen:/run/xen:' m4/paths.m4
@@ -291,7 +269,7 @@ build() {
--enable-systemd \
--enable-ovmf \
--with-system-ovmf \
- --with-system-seabios \
+ --with-system-seabios=/usr/share/qemu/bios-256k.bin \
"${_config_stubdom:---disable-stubdom}" \
--with-extra-qemuu-configure-args="--disable-bluez --disable-gtk --enable-spice --enable-usb-redir --disable-werror"
@@ -318,7 +296,6 @@ package_xen() {
spice
usbredir
yajl
- # TODO why not use system's seabios, ovmf, qemu
)
optdepends=(
'xen-docs: Official Xen Documentation'
diff --git a/ovmf.patch b/ovmf.patch
deleted file mode 100644
index 19ad7d326015..000000000000
--- a/ovmf.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- a/tools/firmware/Makefile
-+++ b/tools/firmware/Makefile
-@@ -19,6 +19,9 @@
-
- ovmf-dir:
- GIT=$(GIT) $(XEN_ROOT)/scripts/git-checkout.sh $(OVMF_UPSTREAM_URL) $(OVMF_UPSTREAM_REVISION) ovmf-dir
-+ sed 's|python |python2 |g' -i "ovmf-dir/BaseTools/BinWrappers/PosixLike"/* || true
-+ sed 's|python |python2 |g' -i "ovmf-dir/BaseTools/Tests/GNUmakefile"
-+ patch -Np1 -i patch-gcc6-ovmf-build.sh.patch
- cp ovmf-makefile ovmf-dir/Makefile;
-
- seabios-dir:
diff --git a/patch-gcc6-ovmf-build.sh.patch b/patch-gcc6-ovmf-build.sh.patch
deleted file mode 100644
index 3da5e1c324e4..000000000000
--- a/patch-gcc6-ovmf-build.sh.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -aur a/ovmf-dir/OvmfPkg/build.sh b/ovmf-dir/OvmfPkg/build.sh
---- a/ovmf-dir/OvmfPkg/build.sh 2016-05-12 12:32:47.417562962 +1000
-+++ b/ovmf-dir/OvmfPkg/build.sh 2016-05-12 12:32:06.440897741 +1000
-@@ -95,7 +95,7 @@
- 4.8.*)
- TARGET_TOOLS=GCC48
- ;;
-- 4.9.*|4.1[0-9].*|5.*.*)
-+ 4.9.*|4.1[0-9].*|5.*.*|6.*.*)
- TARGET_TOOLS=GCC49
- ;;
- *)