summaryrefslogtreecommitdiff
path: root/pcr-testing/xen/patch-ovmf-apply-inbuild-patches.patch
diff options
context:
space:
mode:
authorIsaac David <isacdaavid@isacdaavid.info>2017-07-17 16:39:37 -0500
committerIsaac David <isacdaavid@isacdaavid.info>2017-07-17 16:40:11 -0500
commitd9ce509a69137af170f076029ef1b6e0a6c9abd6 (patch)
tree96f71e58e0c402e08ece803c0ace4f5370908634 /pcr-testing/xen/patch-ovmf-apply-inbuild-patches.patch
parent50702b51a47ee4021f985fef887d3fd0acf79cd9 (diff)
downloadabslibre-d9ce509a69137af170f076029ef1b6e0a6c9abd6.tar.gz
abslibre-d9ce509a69137af170f076029ef1b6e0a6c9abd6.tar.bz2
abslibre-d9ce509a69137af170f076029ef1b6e0a6c9abd6.zip
pcr/xen: move to pcr-testing
Diffstat (limited to 'pcr-testing/xen/patch-ovmf-apply-inbuild-patches.patch')
-rw-r--r--pcr-testing/xen/patch-ovmf-apply-inbuild-patches.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/pcr-testing/xen/patch-ovmf-apply-inbuild-patches.patch b/pcr-testing/xen/patch-ovmf-apply-inbuild-patches.patch
new file mode 100644
index 000000000..2c2f3ed75
--- /dev/null
+++ b/pcr-testing/xen/patch-ovmf-apply-inbuild-patches.patch
@@ -0,0 +1,26 @@
+From 088d0d605131eeb43dc1c4ab21631ea7e51f8501 Mon Sep 17 00:00:00 2001
+From: John Thomson <git@johnthomson.fastmail.com.au>
+Date: Sat, 24 Jun 2017 09:38:13 +1000
+Subject: [PATCH] Fix OVMF apply patches series
+
+---
+ tools/firmware/Makefile | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/tools/firmware/Makefile b/tools/firmware/Makefile
+index a5a6802..875e7e5 100644
+--- a/tools/firmware/Makefile
++++ b/tools/firmware/Makefile
+@@ -20,6 +20,9 @@ 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"
+ cp ovmf-makefile ovmf-dir/Makefile;
++ for i in $$(cat ovmf-patches/series); do \
++ patch -d ovmf-dir -Np1 < ovmf-patches/$$i || exit 1; \
++ done
+
+ seabios-dir:
+ GIT=$(GIT) $(XEN_ROOT)/scripts/git-checkout.sh $(SEABIOS_UPSTREAM_URL) $(SEABIOS_UPSTREAM_REVISION) seabios-dir
+--
+2.13.1
+