[pve-devel] [RFC edk2 1/1] Initial commit

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Oct 4 16:35:35 CEST 2017


Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
 .gitignore                                         |   4 +
 .gitmodules                                        |   3 +
 Makefile                                           |  47 +++++
 debian/changelog                                   |   6 +
 debian/clean                                       |   4 +
 debian/compat                                      |   1 +
 debian/control                                     |  18 ++
 debian/copyright                                   |  29 +++
 ...replace-original-logo-with-Proxmox-VE-one.patch | 194 +++++++++++++++++++++
 debian/patches/series                              |   1 +
 debian/pve-guest-fw-edk2.install                   |   3 +
 debian/pve-guest-fw-edk2.links                     |   1 +
 debian/rules                                       |  66 +++++++
 edk2                                               |   1 +
 14 files changed, 378 insertions(+)
 create mode 100644 .gitignore
 create mode 100644 .gitmodules
 create mode 100644 Makefile
 create mode 100644 debian/changelog
 create mode 100644 debian/clean
 create mode 100644 debian/compat
 create mode 100644 debian/control
 create mode 100644 debian/copyright
 create mode 100644 debian/patches/0001-replace-original-logo-with-Proxmox-VE-one.patch
 create mode 100644 debian/patches/series
 create mode 100644 debian/pve-guest-fw-edk2.install
 create mode 100644 debian/pve-guest-fw-edk2.links
 create mode 100755 debian/rules
 create mode 160000 edk2

diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..a4c231b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+*.deb
+*.buildinfo
+*.changes
+edk2.build
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..c879427
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule "edk2"]
+	path = edk2
+	url = https://github.com/tianocore/edk2.git
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..bb537c7
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,47 @@
+PACKAGE=pve-guest-fw-edk2
+VER=1.20171004.fe4049471b
+PKGREL=1
+
+SRCDIR=edk2
+BUILDDIR=${SRCDIR}.build
+
+GITVERSION:=$(shell git rev-parse HEAD)
+
+DEB=${PACKAGE}_${VER}-${PKGREL}_all.deb
+
+all: ${DEB}
+	@echo ${DEB}
+
+.PHONY: deb
+deb: ${DEB}
+${DEB}: | submodule
+	rm -rf ${BUILDDIR}
+	cp -rpa ${SRCDIR} ${BUILDDIR}
+	cp -a debian ${BUILDDIR}
+	echo "git clone git://git.proxmox.com/git/pve-guest-fw-edk2.git\\ngit checkout ${GITVERSION}" > ${BUILDDIR}/debian/SOURCE
+	cd ${BUILDDIR}; dpkg-buildpackage -rfakeroot -b -uc -us
+	lintian ${DEB}
+	@echo ${DEB}
+
+.PHONY: submodule
+submodule:
+	test -f "${SRCDIR}/Readme.md" || git submodule update --init
+
+.PHONY: download
+download ${SRCDIR}:
+	git submodule foreach 'git pull --ff-only origin master'
+
+.PHONY: upload
+upload: ${DEB}
+	tar cf - ${DEB}|ssh -X repoman at repo.proxmox.com -- upload --product pmg,pve --dist stretch
+
+.PHONY: distclean
+distclean: clean
+
+.PHONY: clean
+clean:
+	rm -rf *~ debian/*~ *.deb ${BUILDDIR} *.changes *.dsc *.buildinfo
+
+.PHONY: dinstall
+dinstall: deb
+	dpkg -i ${DEB}
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..760d853
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,6 @@
+pve-guest-fw-edk2 (1.20171004.fe4049471b-1) stable; urgency=medium
+
+  * Initial release.
+
+ -- Proxmox Support Team <support at proxmox.com>  Wed, 04 Oct 2017 11:00:02 +0200
+
diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..8772fda
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1,4 @@
+Conf/BuildEnv.sh
+Conf/build_rule.txt
+Conf/target.txt
+Conf/tools_def.txt
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..66352b1
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,18 @@
+Source: pve-guest-fw-edk2
+Section: misc
+Priority: extra
+Maintainer: Proxmox Support Team <support at proxmox.com>
+Build-Depends: debhelper (>= 8), uuid-dev, iasl, nasm, python
+Homepage: http://www.tianocore.org
+Standards-Version: 3.9.8
+
+Package: pve-guest-fw-edk2
+Architecture: all
+Depends: ${misc:Depends}
+Provides: ovmf
+Conflicts: ovmf
+Description: edk2 based firmware modules for virtual machines
+ Contains OVMF. Open Virtual Machine Firmware (OVMF) is a build of EDK II for
+ virtual machines. It includes full support for UEFI, including Secure Boot,
+ allowing use of UEFI in place of a traditional BIOS in your VM.
+
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..5941725
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved
+Copyright (c) 2008 - 2010, Apple Inc. All rights reserved.
+Copyright (c) 2011 - 2015, ARM Limited. All rights reserved.
+Copyright (c) 2014 - 2015, Linaro Limited. All rights reserved.
+Copyright (c) 2013 - 2015, Red Hat, Inc.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions
+are met:
+
+* Redistributions of source code must retain the above copyright
+  notice, this list of conditions and the following disclaimer.
+* Redistributions in binary form must reproduce the above copyright
+  notice, this list of conditions and the following disclaimer in
+  the documentation and/or other materials provided with the
+  distribution.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
+ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGE.
diff --git a/debian/patches/0001-replace-original-logo-with-Proxmox-VE-one.patch b/debian/patches/0001-replace-original-logo-with-Proxmox-VE-one.patch
new file mode 100644
index 0000000..e280b23
--- /dev/null
+++ b/debian/patches/0001-replace-original-logo-with-Proxmox-VE-one.patch
@@ -0,0 +1,194 @@
+From b4fb1c2a83ec9ec6dda7d949fffd69aeaa1cd985 Mon Sep 17 00:00:00 2001
+From: Thomas Lamprecht <t.lamprecht at proxmox.com>
+Date: Tue, 5 Sep 2017 15:13:18 +0200
+Subject: [PATCH] replace original logo with Proxmox VE one
+
+Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
+---
+ MdeModulePkg/Logo/Logo.bmp | Bin 12446 -> 49078 bytes
+ 1 file changed, 0 insertions(+), 0 deletions(-)
+
+diff --git a/MdeModulePkg/Logo/Logo.bmp b/MdeModulePkg/Logo/Logo.bmp
+index 3e85229e17595ba1f9c59e13692a4f8362ebc850..4c46dd84772b32fa5c70e31d2483d66850495dc3 100644
+GIT binary patch
+literal 49078
+zcmeHP33wGnwmzxmKD=<B2@*sx$i9R at 1O=5v%#%%mZ1M(-iXez=PrwH=Am|7#41(ae
+zuqh!50%1NgKAJHN5 at mF7VG#rYVH5;GHYX?$Ai2xyIn~{@^}SgJ;`jXCRPp6 at b#3R=
+z|JSL#xwCivMsVCMRREf!?+-};Q}CGtS2*F*HvrVE?*3sQjd1_q-v9_rQWXO9nG^)5
+zk_1(;oFoiLGO9r}Okz~24ul2<QlQEe0SE-EVwM^JS6l^EtD}r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^Y+`@v3Qt<jhp?CC}k+n#%j52u{r;ddJ~
+z=R^x14}b0lHABw^#o|wftOqslBOE6^z7}WLk8s)tI+ehX0(qbVKf=NApJpaT@%CKh
+zBjkB`Dk*}#0I^(mR=#I)0GPAF^D>{QDF}sHt~)E=sT_nwoE4sz`4n=H=5S_p3331o
+psZq=L&dN7)FA<zw-#W7gU^y%6zRc$tP4kvvoPVFMz}sJe{{eq`w(0-?
+
+-- 
+2.11.0
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..2a79edf
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-replace-original-logo-with-Proxmox-VE-one.patch
diff --git a/debian/pve-guest-fw-edk2.install b/debian/pve-guest-fw-edk2.install
new file mode 100644
index 0000000..839354c
--- /dev/null
+++ b/debian/pve-guest-fw-edk2.install
@@ -0,0 +1,3 @@
+Build/OvmfX64/RELEASE_*GCC*/FV/OVMF.fd		/usr/share/ovmf
+Build/OvmfX64/RELEASE_*GCC*/FV/OVMF_CODE.fd	/usr/share/OVMF
+Build/OvmfX64/RELEASE_*GCC*/FV/OVMF_VARS.fd	/usr/share/OVMF
diff --git a/debian/pve-guest-fw-edk2.links b/debian/pve-guest-fw-edk2.links
new file mode 100644
index 0000000..b308b69
--- /dev/null
+++ b/debian/pve-guest-fw-edk2.links
@@ -0,0 +1 @@
+usr/share/ovmf/OVMF.fd usr/share/qemu/OVMF.fd
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..ce8a9ca
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,66 @@
+#!/usr/bin/make -f
+
+SHELL=/bin/bash
+
+# Only used for creating our build tools.
+DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
+DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+
+# Bumping this up to >= GCC5 will require the replacing the pre-compiled
+# liblto*.a binaries that we strip from our orig.tar.xz.
+EDK2_TOOLCHAIN = GCC5
+export $(EDK2_TOOLCHAIN)_AARCH64_PREFIX=aarch64-linux-gnu-
+export $(EDK2_TOOLCHAIN)_ARM_PREFIX=arm-linux-gnueabihf-
+
+ifeq ($(DEB_BUILD_ARCH),amd64)
+	EDK2_BUILD_ARCH=X64
+endif
+ifeq ($(DEB_HOST_ARCH),amd64)
+	EDK2_HOST_ARCH=X64
+endif
+ifeq ($(DEB_BUILD_ARCH),arm64)
+	EDK2_BUILD_ARCH=AARCH64
+endif
+
+# Clear variables used internally by the edk2 build system
+undefine WORKSPACE
+undefine ECP_SOURCE
+undefine EDK_SOURCE
+undefine EFI_SOURCE
+undefine EDK_TOOLS_PATH
+undefine CONF_PATH
+
+ver := $(shell dpkg-parsechangelog | sed -n -e's/^Version: \(.*\)-[^-]\+/\1/p')
+
+%:
+	dh $@
+
+override_dh_auto_build: build-ovmf
+
+setup-build:
+	make -C BaseTools ARCH=$(EDK2_BUILD_ARCH)
+	# We call this twice because it modifies the shell environment,
+	# and it's excessively awkward to do all the subsequent work in a
+	# single shell invocation
+	. ./edksetup.sh
+
+build-ovmf: EDK2_ARCH_DIR=X64
+build-ovmf: EDK2_HOST_ARCH=X64
+build-ovmf: setup-build
+	set -e; . ./edksetup.sh; \
+		OvmfPkg/build.sh -a $(EDK2_HOST_ARCH) -b RELEASE -DSECURE_BOOT_ENABLE=FALSE -DFD_SIZE_4MB \
+		    -n $$(getconf _NPROCESSORS_ONLN) -t $(EDK2_TOOLCHAIN)
+
+build-qemu-efi-aarch64:
+	$(MAKE) -f debian/rules build-qemu-efi EDK2_ARCH_DIR=AArch64 EDK2_HOST_ARCH=AARCH64 FW_NAME=AAVMF
+
+override_dh_auto_clean:
+	set -e; \
+	if [ -d BaseTools/Source/C/bin ]; then \
+		. ./edksetup.sh; build clean; \
+		make -C BaseTools clean; \
+	fi
+	rm -rf Conf/.cache Build .pc-post
+
+.PHONY: setup-build build-ovmf
diff --git a/edk2 b/edk2
new file mode 160000
index 0000000..fe40494
--- /dev/null
+++ b/edk2
@@ -0,0 +1 @@
+Subproject commit fe4049471bdf066c3c07dfa76752149743afa16f
-- 
2.11.0




More information about the pve-devel mailing list