[arch-commits] Commit in ovmf/trunk (PKGBUILD)
Anatol Pomozov
anatolik at archlinux.org
Sat Aug 25 04:46:54 UTC 2018
Date: Saturday, August 25, 2018 @ 04:46:54
Author: anatolik
Revision: 332989
upgpkg: ovmf 1:r24601.6861765935-1
FS#59465: enable sequire boot, IP6, TPM2, http boot
Modified:
ovmf/trunk/PKGBUILD
----------+
PKGBUILD | 17 ++++++++++++-----
1 file changed, 12 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-24 19:12:15 UTC (rev 332988)
+++ PKGBUILD 2018-08-25 04:46:54 UTC (rev 332989)
@@ -1,7 +1,7 @@
# $Id$
# Maintainer: Thomas Bächler <thomas at archlinux.org>
pkgname=ovmf
-pkgver=r24021.3f34e36d04
+pkgver=r24601.6861765935
epoch=1
pkgrel=1
arch=('any')
@@ -9,9 +9,14 @@
url="http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=EDK2"
license=('custom')
makedepends=('git' 'python2' 'iasl' 'nasm' 'subversion' 'perl-libwww')
-_commit=3f34e36d04a8de4992a696f738643b5a11261469
-source=(edk2::git+https://github.com/tianocore/edk2#commit=$_commit)
-sha256sums=('SKIP')
+_commit=6861765935d5b69803321ba6e43240845c7ab0e5
+_openssl_ver=1.1.0h
+source=(edk2::git+https://github.com/tianocore/edk2#commit=$_commit
+ https://www.openssl.org/source/openssl-$_openssl_ver.tar.gz{,.asc})
+sha256sums=('SKIP'
+ '5835626cde9e99656585fc7aaa2302a73a7e1340bf8c14fd635a62c66802a517'
+ 'SKIP')
+validpgpkeys=(8657ABB260F056B1E5190839D9C4D26D0E604491)
options=(!makeflags)
_toolchain_opt=GCC5
@@ -25,6 +30,8 @@
# edk2 uses python everywhere, but expects python2
mkdir -p bin
ln -sf /usr/bin/python2 bin/python
+ rm -rf $srcdir/edk2/CryptoPkg/Library/OpensslLib/openssl
+ ln -sf $srcdir/openssl-$_openssl_ver $srcdir/edk2/CryptoPkg/Library/OpensslLib/openssl
}
build() {
@@ -38,7 +45,7 @@
export EDK_TOOLS_PATH="${srcdir}"/edk2/BaseTools
. edksetup.sh BaseTools
- ./BaseTools/BinWrappers/PosixLike/build -t $_toolchain_opt -a X64 -p OvmfPkg/OvmfPkgX64.dsc -n $(nproc) -b RELEASE -D FD_SIZE_2MB
+ ./BaseTools/BinWrappers/PosixLike/build -t $_toolchain_opt -a X64 -p OvmfPkg/OvmfPkgX64.dsc -n $(nproc) -b RELEASE -D FD_SIZE_2MB -D NETWORK_IP6_ENABLE -D TPM2_ENABLE -D SECURE_BOOT_ENABLE -D HTTP_BOOT_ENABLE -D TLS_ENABLE
# build fails for 32bit binary
# ./BaseTools/BinWrappers/PosixLike/build -t $_toolchain_opt -a IA32 -p OvmfPkg/OvmfPkgIa32.dsc -n $(nproc) -b RELEASE -D FD_SIZE_2MB
More information about the arch-commits
mailing list