automation/build: build ovmf
PATCH 1/1 automation/build: build ovmf
Install nasm and build ovmf with gcc on x86.
Signed-off-by Wei Liu <[email protected]>
---
I have tested stretch 64 bit and 32 bit containers.
I haven't tested the build script itself.
--- automation/build/centos/7.2.dockerfile | 1 + automation/build/debian/jessie.dockerfile | 1 + automation/build/debian/stretch-i386.dockerfile | 1 + automation/build/debian/stretch.dockerfile | 1 + automation/build/ubuntu/trusty.dockerfile | 1 + automation/build/ubuntu/xenial.dockerfile | 1 + automation/scripts/build | 2 ++ 7 files changed, 8 insertions(+)
automation/build/centos/7.2.dockerfile +1 -0
@@ -46,4 +46,5 @@ RUN rpm --rebuilddb && \ dev86 \ xz-devel \ bzip2 \ + nasm \ && yum clean all
automation/build/debian/jessie.dockerfile +1 -0
@@ -41,6 +41,7 @@ RUN apt-get update && \ checkpolicy \ wget \ git \ + nasm \ && \ apt-get autoremove -y && \ apt-get clean && \
automation/build/debian/stretch-i386.dockerfile +1 -0
@@ -43,6 +43,7 @@ RUN apt-get update && \ checkpolicy \ wget \ git \ + nasm \ && \ apt-get autoremove -y && \ apt-get clean && \
automation/build/debian/stretch.dockerfile +1 -0
@@ -41,6 +41,7 @@ RUN apt-get update && \ checkpolicy \ wget \ git \ + nasm \ && \ apt-get autoremove -y && \ apt-get clean && \
automation/build/ubuntu/trusty.dockerfile +1 -0
@@ -41,6 +41,7 @@ RUN apt-get update && \ checkpolicy \ wget \ git \ + nasm \ && \ apt-get autoremove -y && \ apt-get clean && \
automation/build/ubuntu/xenial.dockerfile +1 -0
@@ -41,6 +41,7 @@ RUN apt-get update && \ checkpolicy \ wget \ git \ + nasm \ && \ apt-get autoremove -y && \ apt-get clean && \
automation/scripts/build +2 -0
@@ -24,6 +24,8 @@ fi if [[ "${XEN_TARGET_ARCH}" == "arm64" || "${XEN_TARGET_ARCH}" == "arm32" ]]; then cfgargs+=("--disable-tools") # we don't have the cross depends installed +elif [[ "${CC}" != "clang" ]]; then + cfgargs+=("--enable-ovmf") # build ovmf with gcc on x86, arm doesn't use in-tree ovmf fi ./configure "${cfgargs[@]}"
Signature · 7 lines
2.11.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 4 lines · Wei Liu
Install nasm and build ovmf with gcc on x86.
Signed-off-by Wei Liu <[email protected]>---
Acked-by Doug Goldstein <[email protected]>
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel