Hello community, here is the log from the commit of package ovmf for openSUSE:Factory checked in at 2016-09-25 14:28:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/ovmf (Old) and /work/SRC/openSUSE:Factory/.ovmf.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ovmf" Changes: -------- --- /work/SRC/openSUSE:Factory/ovmf/ovmf.changes 2016-08-26 23:14:07.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.ovmf.new/ovmf.changes 2016-09-25 14:29:01.000000000 +0200 @@ -1,0 +2,10 @@ +Wed Sep 14 10:13:49 UTC 2016 - [email protected] + +- update to 2017+git1472049752.ea2f21e: + + switches git branch from an (outdated) master tree + to the UDK2017 branch, which provides an insane amount of + changes. for details please look at https://github.com/tianocore/edk2/commits/UDK2017 +- unify build flags with aarch64 build for increased compatibility with + openSUSE installation medias + +------------------------------------------------------------------- Old: ---- ovmf-2015+git1471575292.00bcb5c.tar.xz New: ---- ovmf-2017+git1472049752.ea2f21e.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ovmf.spec ++++++ --- /var/tmp/diff_new_pack.UxH8fY/_old 2016-09-25 14:29:03.000000000 +0200 +++ /var/tmp/diff_new_pack.UxH8fY/_new 2016-09-25 14:29:03.000000000 +0200 @@ -26,7 +26,7 @@ Summary: Open Virtual Machine Firmware License: BSD-2-Clause Group: System/Emulators/PC -Version: 2015+git1471575292.00bcb5c +Version: 2017+git1472049752.ea2f21e Release: 0 Source0: %{name}-%{version}.tar.xz Source1: https://www.openssl.org/source/openssl-%{openssl_version}.tar.gz @@ -53,10 +53,10 @@ BuildRequires: fdupes BuildRequires: gcc BuildRequires: gcc-c++ +BuildRequires: iasl BuildRequires: libuuid-devel BuildRequires: python -%ifnarch aarch64 %arm -BuildRequires: iasl +%ifnarch %arm BuildRequires: nasm %endif %ifarch x86_64 @@ -193,7 +193,7 @@ make -C BaseTools %else %ifarch aarch64 - BUILD_OPTIONS="-D SECURE_BOOT_ENABLE -a AARCH64 -p ArmVirtPkg/ArmVirtQemu.dsc -b RELEASE -t $TOOL_CHAIN_TAG" + BUILD_OPTIONS="$OVMF_FLAGS -a AARCH64 -p ArmVirtPkg/ArmVirtQemu.dsc -b DEBUG -t $TOOL_CHAIN_TAG" ARCH=AARCH64 make -C BaseTools %else %ifarch %arm @@ -316,7 +316,7 @@ %else %ifarch aarch64 -cp Build/ArmVirtQemu-AARCH64/RELEASE_GCC*/FV/QEMU_EFI.fd qemu-uefi-aarch64.bin +cp Build/ArmVirtQemu-AARCH64/DEBUG_GCC*/FV/QEMU_EFI.fd qemu-uefi-aarch64.bin dd of="aavmf-aarch64-code.bin" if="/dev/zero" bs=1M count=64 dd of="aavmf-aarch64-code.bin" if="qemu-uefi-aarch64.bin" conv=notrunc dd of="aavmf-aarch64-vars.bin" if="/dev/zero" bs=1M count=64 ++++++ _service ++++++ --- /var/tmp/diff_new_pack.UxH8fY/_old 2016-09-25 14:29:03.000000000 +0200 +++ /var/tmp/diff_new_pack.UxH8fY/_new 2016-09-25 14:29:03.000000000 +0200 @@ -1,7 +1,8 @@ <services> <service name="tar_scm" mode="disabled"> <param name="filename">ovmf</param> - <param name="versionformat">2015+git%at.%h</param> + <param name="versionformat">2017+git%at.%h</param> + <param name="revision">UDK2017</param> <param name="url">https://github.com/tianocore/edk2.git</param> <param name="scm">git</param> </service> ++++++ ovmf-2015+git1471575292.00bcb5c.tar.xz -> ovmf-2017+git1472049752.ea2f21e.tar.xz ++++++ /work/SRC/openSUSE:Factory/ovmf/ovmf-2015+git1471575292.00bcb5c.tar.xz /work/SRC/openSUSE:Factory/.ovmf.new/ovmf-2017+git1472049752.ea2f21e.tar.xz differ: char 25, line 1 ++++++ ovmf-gdb-symbols.patch ++++++ --- /var/tmp/diff_new_pack.UxH8fY/_old 2016-09-25 14:29:03.000000000 +0200 +++ /var/tmp/diff_new_pack.UxH8fY/_new 2016-09-25 14:29:03.000000000 +0200 @@ -14,11 +14,10 @@ create mode 100644 DebugPkg/GdbSyms/GdbSyms.inf create mode 100644 DebugPkg/Scripts/gdb_uefi.py -diff --git a/DebugPkg/DebugPkg.dec b/DebugPkg/DebugPkg.dec -new file mode 100644 -index 0000000..e12401d +Index: ovmf-2017+git1472049752.ea2f21e/DebugPkg/DebugPkg.dec +=================================================================== --- /dev/null -+++ b/DebugPkg/DebugPkg.dec ++++ ovmf-2017+git1472049752.ea2f21e/DebugPkg/DebugPkg.dec @@ -0,0 +1,34 @@ +## @file +# Debug package - various useful stuff for debugging. @@ -54,11 +53,10 @@ + +[LibraryClasses] + -diff --git a/DebugPkg/GdbSyms/GdbSyms.c b/DebugPkg/GdbSyms/GdbSyms.c -new file mode 100644 -index 0000000..2551dfa +Index: ovmf-2017+git1472049752.ea2f21e/DebugPkg/GdbSyms/GdbSyms.c +=================================================================== --- /dev/null -+++ b/DebugPkg/GdbSyms/GdbSyms.c ++++ ovmf-2017+git1472049752.ea2f21e/DebugPkg/GdbSyms/GdbSyms.c @@ -0,0 +1,70 @@ +/** @file + @@ -130,11 +128,10 @@ +} + + -diff --git a/DebugPkg/GdbSyms/GdbSyms.inf b/DebugPkg/GdbSyms/GdbSyms.inf -new file mode 100644 -index 0000000..afb7887 +Index: ovmf-2017+git1472049752.ea2f21e/DebugPkg/GdbSyms/GdbSyms.inf +=================================================================== --- /dev/null -+++ b/DebugPkg/GdbSyms/GdbSyms.inf ++++ ovmf-2017+git1472049752.ea2f21e/DebugPkg/GdbSyms/GdbSyms.inf @@ -0,0 +1,57 @@ +## @file +# @@ -193,12 +190,11 @@ +[Depex] + TRUE + -diff --git a/DebugPkg/Scripts/gdb_uefi.py b/DebugPkg/Scripts/gdb_uefi.py -new file mode 100644 -index 0000000..dac215c +Index: ovmf-2017+git1472049752.ea2f21e/DebugPkg/Scripts/gdb_uefi.py +=================================================================== --- /dev/null -+++ b/DebugPkg/Scripts/gdb_uefi.py -@@ -0,0 +1,348 @@ ++++ ovmf-2017+git1472049752.ea2f21e/DebugPkg/Scripts/gdb_uefi.py +@@ -0,0 +1,350 @@ +""" +Allows loading TianoCore symbols into a GDB session attached to EFI +Firmware. @@ -219,6 +215,7 @@ +import array +import getopt +import binascii ++import re + +__license__ = "BSD" +__version = "1.0.0" @@ -444,6 +441,7 @@ + base = base + opt['SizeOfHeaders'] + if sym_name != self.EINVAL: + sym_name = sym_name.cast (self.ptype('CHAR8')).string () ++ sym_name = re.sub(r"\.dll$", ".debug", sym_name) + syms.append ("add-symbol-file %s 0x%x" % \ + (sym_name, + long (base))) @@ -547,49 +545,12 @@ +ReloadUefi () + + --- -2.6.3 - - -From 1f827a7df8049b1375171a67d399dcba47b7786e Mon Sep 17 00:00:00 2001 -From: Gary Ching-Pang Lin <[email protected]> -Date: Tue, 24 Jun 2014 11:59:02 +0800 -Subject: [PATCH 2/2] Compile DebugPkg and load .debug files - ---- - DebugPkg/Scripts/gdb_uefi.py | 2 ++ - OvmfPkg/OvmfPkgX64.dsc | 1 + - 2 files changed, 3 insertions(+) - -diff --git a/DebugPkg/Scripts/gdb_uefi.py b/DebugPkg/Scripts/gdb_uefi.py -index dac215c..3db87a4 100644 ---- a/DebugPkg/Scripts/gdb_uefi.py -+++ b/DebugPkg/Scripts/gdb_uefi.py -@@ -18,6 +18,7 @@ images were converted from MACH-O or ELF binaries. - import array - import getopt - import binascii -+import re - - __license__ = "BSD" - __version = "1.0.0" -@@ -243,6 +244,7 @@ class ReloadUefi (gdb.Command): - base = base + opt['SizeOfHeaders'] - if sym_name != self.EINVAL: - sym_name = sym_name.cast (self.ptype('CHAR8')).string () -+ sym_name = re.sub(r"\.dll$", ".debug", sym_name) - syms.append ("add-symbol-file %s 0x%x" % \ - (sym_name, - long (base))) -diff --git a/OvmfPkg/OvmfPkgX64.dsc b/OvmfPkg/OvmfPkgX64.dsc -index 76ef00a..62d0688 100644 ---- a/OvmfPkg/OvmfPkgX64.dsc -+++ b/OvmfPkg/OvmfPkgX64.dsc -@@ -735,3 +735,4 @@ [Components] +Index: ovmf-2017+git1472049752.ea2f21e/OvmfPkg/OvmfPkgX64.dsc +=================================================================== +--- ovmf-2017+git1472049752.ea2f21e.orig/OvmfPkg/OvmfPkgX64.dsc ++++ ovmf-2017+git1472049752.ea2f21e/OvmfPkg/OvmfPkgX64.dsc +@@ -821,3 +821,4 @@ NULL|MdeModulePkg/Library/VarCheckUefiLib/VarCheckUefiLib.inf } !endif + DebugPkg/GdbSyms/GdbSyms.inf --- -2.6.3 -
