summaryrefslogtreecommitdiff
path: root/pcr-testing/xen/patch-ovmf-use-python2.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-use-python2.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-use-python2.patch')
-rw-r--r--pcr-testing/xen/patch-ovmf-use-python2.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/pcr-testing/xen/patch-ovmf-use-python2.patch b/pcr-testing/xen/patch-ovmf-use-python2.patch
new file mode 100644
index 000000000..b52b9230c
--- /dev/null
+++ b/pcr-testing/xen/patch-ovmf-use-python2.patch
@@ -0,0 +1,22 @@
+Subject: [PATCH] Fix ovmf, use python2
+
+---
+ tools/firmware/Makefile | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/tools/firmware/Makefile b/tools/firmware/Makefile
+index b840c6a..a5a6802 100644
+--- a/tools/firmware/Makefile
++++ b/tools/firmware/Makefile
+@@ -17,6 +17,8 @@ LD32BIT-$(CONFIG_FreeBSD) := LD32BIT_FLAG=-melf_i386_fbsd
+
+ 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"
+ cp ovmf-makefile ovmf-dir/Makefile;
+
+ seabios-dir:
+--
+2.13.0
+