[pve-devel] [PATCH kvm] add new and correct ovmf images

Dominik Csapak d.csapak at proxmox.com
Thu Sep 8 10:58:32 CEST 2016


this adds ovmf images with a readme how they were
compiled

this also includes the logo and the OVMF_CODE image,
which is needed when we want to use an efidisk

Signed-off-by: Dominik Csapak <d.csapak at proxmox.com>
---
patch without binaries to review
i sent the patch including binaries already to dietmar

 debian/Logo.bmp              | Bin 0 -> 49078 bytes
 debian/OVMF-pure-efi.fd      | Bin 2097152 -> 0 bytes
 debian/OVMF_CODE-pure-efi.fd | Bin 0 -> 1966080 bytes
 debian/OVMF_README.txt       |  11 +++++++++++
 debian/rules                 |   2 +-
 5 files changed, 12 insertions(+), 1 deletion(-)
 create mode 100644 debian/Logo.bmp
 delete mode 100644 debian/OVMF-pure-efi.fd
 create mode 100644 debian/OVMF_CODE-pure-efi.fd
 create mode 100644 debian/OVMF_README.txt

diff --git a/debian/Logo.bmp b/debian/Logo.bmp
new file mode 100644
index 0000000..4c46dd8
Binary files /dev/null and b/debian/Logo.bmp differ
diff --git a/debian/OVMF-pure-efi.fd b/debian/OVMF-pure-efi.fd
deleted file mode 100644
index c8e086c..0000000
Binary files a/debian/OVMF-pure-efi.fd and /dev/null differ
diff --git a/debian/OVMF_CODE-pure-efi.fd b/debian/OVMF_CODE-pure-efi.fd
new file mode 100644
index 0000000..807676d
Binary files /dev/null and b/debian/OVMF_CODE-pure-efi.fd differ
diff --git a/debian/OVMF_README.txt b/debian/OVMF_README.txt
new file mode 100644
index 0000000..7085e29
--- /dev/null
+++ b/debian/OVMF_README.txt
@@ -0,0 +1,11 @@
+The OVMF images were built through the edk2 github repository.
+
+git clone https://github.com/tianocore/edk2
+
+set up the build environment
+
+copy the Logo.bmp to ./edk2/MdeModulePkg/Logo/
+
+call ./edk2/OvmfPkg/build.sh -a X64 -b RELEASE
+
+The license is under ./edk2/OvmfPkg/License.txt
diff --git a/debian/rules b/debian/rules
index 7b9b732..bc0fba0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -84,7 +84,7 @@ install: build
 	install -D -m 0755 $(CURDIR)/debian/kvm-ifdown $(destdir)/etc/kvm/kvm-ifdown
 
 	#install ovmf uefi rom
-	install -D -m 0644 $(CURDIR)/debian/OVMF-pure-efi.fd $(destdir)/usr/share/kvm/OVMF-pure-efi.fd
+	install -D -m 0644 $(CURDIR)/debian/OVMF_CODE-pure-efi.fd $(destdir)/usr/share/kvm/OVMF_CODE-pure-efi.fd
 	install -D -m 0644 $(CURDIR)/debian/OVMF_VARS-pure-efi.fd $(destdir)/usr/share/kvm/OVMF_VARS-pure-efi.fd
 
 	# we do not need openbios files (sparc/ppc)
-- 
2.1.4





More information about the pve-devel mailing list