Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: ovmf-*-201908
Date: Tue, 29 Oct 2019 01:01:06 +0100	[thread overview]
Message-ID: <20191029000106.Oni4aUjYBEOXOXbCK3aRt9dbSrIx6bmhsKgYRKuJWr0@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11392@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 325 bytes --]

There is an updated pull request by teldra against master on the void-packages repository

https://github.com/teldra/void-packages ovmf
https://github.com/void-linux/void-packages/pull/11392

New package: ovmf-*-201908
solves #11243 

A patch file from https://github.com/void-linux/void-packages/pull/11392.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ovmf-11392.patch --]
[-- Type: text/x-diff, Size: 2774 bytes --]

From faa48064e4a97ff4608753c1ba5fc6552aea1da4 Mon Sep 17 00:00:00 2001
From: teldra <teldra@rotce.de>
Date: Tue, 30 Apr 2019 07:11:16 +0200
Subject: [PATCH] New package: ovmf-*-201908

---
 srcpkgs/ovmf-IA32         |  1 +
 srcpkgs/ovmf-X64/template | 55 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)
 create mode 120000 srcpkgs/ovmf-IA32
 create mode 100644 srcpkgs/ovmf-X64/template

diff --git a/srcpkgs/ovmf-IA32 b/srcpkgs/ovmf-IA32
new file mode 120000
index 00000000000..74ae8eaae27
--- /dev/null
+++ b/srcpkgs/ovmf-IA32
@@ -0,0 +1 @@
+ovmf-X64
\ No newline at end of file
diff --git a/srcpkgs/ovmf-X64/template b/srcpkgs/ovmf-X64/template
new file mode 100644
index 00000000000..e50cf3baa72
--- /dev/null
+++ b/srcpkgs/ovmf-X64/template
@@ -0,0 +1,55 @@
+# Template file for 'ovmf-X64'
+pkgname=ovmf-X64
+version=201908
+revision=1
+_opensslversion=1.1.1c
+archs="~i686"
+wrksrc=edk2-edk2-stable${version}
+hostmakedepends="make python3 libuuid-devel bc acpica-utils nasm"
+makedepends="perl-LWP"
+short_desc="Tianocore UEFI firmware for qemu - X64"
+maintainer="teldra <teldra@rotce.de>"
+license="BSD-2-Clause-Patent, MIT"
+homepage="https://www.tianocore.org/"
+distfiles="https://github.com/tianocore/edk2/archive/edk2-stable${version}.tar.gz
+ https://github.com/openssl/openssl/archive/OpenSSL_${_opensslversion//./_}.tar.gz"
+checksum="37460eaee8cbbb8d01d0d28b5e9ccc21a957d3012294de88628b657dca23c23c
+ 640f3a3c26aef38293b4ab4017562aa7dccf787267382d27fc003538b405bbb5"
+
+
+_targets=(X64 IA32)
+_toolchain_opt=GCC5
+
+pre_configure() {
+	cp -r ${XBPS_BUILDDIR}/openssl-OpenSSL_${_opensslversion//./_}/* ${XBPS_BUILDDIR}/edk2-edk2-stable${version}/CryptoPkg/Library/OpensslLib/openssl
+}
+
+do_build() {
+	: ${make_cmd:=make}
+	export PATH="${wrksrc}/bin:$PATH"
+	export EDK_TOOLS_PATH=${wrksrc}/BaseTools
+	${make_cmd} -C BaseTools
+	. edksetup.sh BaseTools
+	for ARCH in ${_targets[@]}; do
+		case $ARCH in
+			IA32) FILE="Ia32" ;;
+			X64) FILE="X64";;
+		esac
+		./BaseTools/BinWrappers/PosixLike/build -t ${_toolchain_opt} -a ${ARCH} -p OvmfPkg/OvmfPkg${FILE}.dsc -n ${XBPS_MAKEJOBS} -b RELEASE -D FD_SIZE_2MB
+	done
+}
+
+do_install() {
+	vinstall Build/OvmfX64/RELEASE_${_toolchain_opt}/FV/OVMF_CODE.fd 644 usr/share/ovmf OVMF_CODE-X64.fd
+	vinstall Build/OvmfX64/RELEASE_${_toolchain_opt}/FV/OVMF_VARS.fd 644 usr/share/ovmf OVMF_VARS-X64.fd
+	vlicense OvmfPkg/License.txt
+}
+
+ovmf-IA32_package() {
+	short_desc="Tianocore UEFI firmware for qemu - IA32"
+	pkg_install() {
+		vinstall Build/OvmfIa32/RELEASE_${_toolchain_opt}/FV/OVMF_CODE.fd 644 usr/share/ovmf OVMF_CODE-IA32.fd
+		vinstall Build/OvmfIa32/RELEASE_${_toolchain_opt}/FV/OVMF_VARS.fd 644 usr/share/ovmf OVMF_VARS-IA32.fd
+		vlicense OvmfPkg/License.txt
+	}
+}

  parent reply	other threads:[~2019-10-29  0:01 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-11392@inbox.vuxu.org>
2019-06-06 11:20 ` [PR PATCH] [Updated] New package: ovmf-201903 voidlinux-github
2019-06-06 11:36 ` [PR PATCH] [Updated] New package: ovmf-201905 voidlinux-github
2019-06-06 11:36 ` voidlinux-github
2019-06-06 11:38 ` voidlinux-github
2019-06-06 11:38 ` voidlinux-github
2019-06-06 12:10 ` voidlinux-github
2019-06-06 12:10 ` voidlinux-github
2019-06-06 21:52 ` voidlinux-github
2019-06-06 21:52 ` voidlinux-github
2019-09-18  2:31 ` voidlinux-github
2019-10-28 23:25 ` [PR PATCH] [Updated] " voidlinux-github
2019-10-28 23:25 ` voidlinux-github
2019-10-28 23:28 ` voidlinux-github
2019-10-28 23:28 ` voidlinux-github
2019-10-28 23:50 ` [PR PATCH] [Updated] New package: ovmf-*-201908 voidlinux-github
2019-10-28 23:50 ` voidlinux-github
2019-10-29  0:01 ` voidlinux-github [this message]
2019-10-29  0:01 ` voidlinux-github
2019-10-29  0:44 ` voidlinux-github
2019-12-26 11:43 ` [PR PATCH] [Closed]: New package: ovmf-*-201911 voidlinux-github

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191029000106.Oni4aUjYBEOXOXbCK3aRt9dbSrIx6bmhsKgYRKuJWr0@z \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).