commit vboot for openSUSE:Factory

2020-06-08 Thread root
Hello community,

here is the log from the commit of package vboot for openSUSE:Factory checked 
in at 2020-06-08 23:59:58

Comparing /work/SRC/openSUSE:Factory/vboot (Old)
 and  /work/SRC/openSUSE:Factory/.vboot.new.3606 (New)


Package is "vboot"

Mon Jun  8 23:59:58 2020 rev:12 rq:812258 version:78.12499

Changes:

--- /work/SRC/openSUSE:Factory/vboot/vboot.changes  2020-02-24 
15:56:03.739954780 +0100
+++ /work/SRC/openSUSE:Factory/.vboot.new.3606/vboot.changes2020-06-09 
00:03:56.981138573 +0200
@@ -1,0 +2,5 @@
+Sun Jun  7 16:18:07 UTC 2020 - Misha Komarovskiy 
+
+- add fix_vboot_version.patch to fix gcc10 build 
+
+---

New:

  fix_vboot_version.patch



Other differences:
--
++ vboot.spec ++
--- /var/tmp/diff_new_pack.chHXb1/_old  2020-06-09 00:03:57.905141852 +0200
+++ /var/tmp/diff_new_pack.chHXb1/_new  2020-06-09 00:03:57.909141866 +0200
@@ -31,6 +31,7 @@
 Patch1: fix_Makefile.patch
 Patch2: Fix-arch-detection-for-armv6.patch
 Patch3: reproducible.patch
+Patch4: fix_vboot_version.patch
 BuildRequires:  gcc-c++
 BuildRequires:  libgnutls-devel
 BuildRequires:  libuuid-devel
@@ -49,6 +50,7 @@
 %patch1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %build
 export CFLAGS="-D_GNU_SOURCE %{optflags}"

++ fix_vboot_version.patch ++
>From df4d2000a22db673a788b8e57e8e7c0cc3cee777 Mon Sep 17 00:00:00 2001
From: Leonard Chan 
Date: Thu, 3 Oct 2019 18:53:04 -0700
Subject: [PATCH] Make vboot_version extern in header

When enabling `-fno-common` in Fuchsia, we get a bunch of linker errors
when linking futility:

```
ld.lld: error: duplicate symbol: vboot_version
>>> defined at futility.h:43 
>>> (../../third_party/vboot_reference/futility/futility.h:43)
>>>
>>> host_x63-asan_no_detect_leaks/obj/third_party/vboot_reference/futility/futility.cmd_bdb.c.o:(vboot_version)
>>> defined at futility.h:43 
>>> (../../third_party/vboot_reference/futility/futility.h:43)
>>>
>>> host_x64-asan_no_detect_leaks/obj/third_party/vboot_reference/futility/futility.cmd_create.c.o:(.bss.vboot_version+0x0)
```

and think this is because -fno-common places vboot_version for
unitialized global variables in the BSS section of each object file.
Making it extern instead resolves each reference to its definition in
futility/misc.c.

Change-Id: I591f07abd1f975a8a9d078bb4366e2e0861390b4
Reviewed-on: 
https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/1839207
Reviewed-by: Julius Werner 
Reviewed-by: Joel Kitching 
Commit-Queue: Julius Werner 
Tested-by: Julius Werner 

Patch taken from upstream: 
https://chromium.googlesource.com/chromiumos/platform/vboot_reference/+/df4d2000a22db673a788b8e57e8e7c0cc3cee777
Signed-off-by: Heiko Thiery 
---
 futility/futility.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/futility/futility.h b/futility/futility.h
index 3bce1106..5dc426dd 100644
--- a/futility/futility.h
+++ b/futility/futility.h
@@ -41,7 +41,7 @@ enum vboot_version  {
 };
 
 /* What's our preferred API & data format? */
-enum vboot_version vboot_version;
+extern enum vboot_version vboot_version;
 
 /* Here's a structure to define the commands that futility implements. */
 struct futil_cmd_t {
-- 
2.20.1



commit vboot for openSUSE:Factory

2020-02-24 Thread root
Hello community,

here is the log from the commit of package vboot for openSUSE:Factory checked 
in at 2020-02-24 15:54:05

Comparing /work/SRC/openSUSE:Factory/vboot (Old)
 and  /work/SRC/openSUSE:Factory/.vboot.new.26092 (New)


Package is "vboot"

Mon Feb 24 15:54:05 2020 rev:11 rq:778620 version:78.12499

Changes:

--- /work/SRC/openSUSE:Factory/vboot/vboot.changes  2019-10-21 
12:28:26.423963397 +0200
+++ /work/SRC/openSUSE:Factory/.vboot.new.26092/vboot.changes   2020-02-24 
15:56:03.739954780 +0100
@@ -1,0 +2,5 @@
+Sun Feb 23 20:07:57 UTC 2020 - Misha Komarovskiy 
+
+- riscv64 arch is not supported by vboot, exclude it until supported 
+
+---



Other differences:
--
++ vboot.spec ++
--- /var/tmp/diff_new_pack.HcATmJ/_old  2020-02-24 15:56:04.975957336 +0100
+++ /var/tmp/diff_new_pack.HcATmJ/_new  2020-02-24 15:56:04.975957336 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package vboot
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -15,6 +15,7 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
+
 %define major_version 78
 %define minor_version 12499
 Name:   vboot
@@ -37,7 +38,7 @@
 BuildRequires:  python
 BuildRequires:  trousers-devel
 BuildRequires:  xz-devel
-ExcludeArch:ppc ppc64 ppc64le
+ExcludeArch:ppc ppc64 ppc64le riscv64
 
 %description
 VBoot contains verified boot reference implementation and




commit vboot for openSUSE:Factory

2019-10-21 Thread root
Hello community,

here is the log from the commit of package vboot for openSUSE:Factory checked 
in at 2019-10-21 12:28:22

Comparing /work/SRC/openSUSE:Factory/vboot (Old)
 and  /work/SRC/openSUSE:Factory/.vboot.new.2352 (New)


Package is "vboot"

Mon Oct 21 12:28:22 2019 rev:10 rq:741108 version:78.12499

Changes:

--- /work/SRC/openSUSE:Factory/vboot/vboot.changes  2019-06-27 
15:26:43.309636874 +0200
+++ /work/SRC/openSUSE:Factory/.vboot.new.2352/vboot.changes2019-10-21 
12:28:26.423963397 +0200
@@ -1,0 +2,12 @@
+Thu Oct 10 15:38:22 UTC 2019 - Kasimir _ 
+
+- Update to R78-12499
+  * Upstream log available here:
+
https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git/+log/release-R78-12499.B
+- Update to R77-12371
+  * Upstream log available here:
+
https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git/+log/release-R77-12371.B
+- Update patch:
+  * fix_Makefile.patch
+
+---

Old:

  release-R76-12239.B.tar.gz

New:

  release-R78-12499.B.tar.gz



Other differences:
--
++ vboot.spec ++
--- /var/tmp/diff_new_pack.2XcASc/_old  2019-10-21 12:28:29.315966676 +0200
+++ /var/tmp/diff_new_pack.2XcASc/_new  2019-10-21 12:28:29.315966676 +0200
@@ -15,9 +15,8 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
-
-%define major_version 76
-%define minor_version 12239
+%define major_version 78
+%define minor_version 12499
 Name:   vboot
 Version:%{major_version}.%{minor_version}
 Release:0
@@ -64,7 +63,6 @@
 
 %files
 %doc README LICENSE
-%{_bindir}/bdb_extend
 %{_bindir}/chromeos-tpm-recovery
 %{_bindir}/cgpt
 %{_bindir}/common_minimal.sh
@@ -86,7 +84,6 @@
 %{_bindir}/resign_firmwarefd.sh
 %{_bindir}/set_gbb_flags.sh
 %{_bindir}/signature_digest_utility
-%{_bindir}/tpm_init_temp_fix
 %{_bindir}/tpm-nvsize
 %{_bindir}/tpmc
 %{_bindir}/vbutil_firmware

++ fix_Makefile.patch ++
--- /var/tmp/diff_new_pack.2XcASc/_old  2019-10-21 12:28:29.339966703 +0200
+++ /var/tmp/diff_new_pack.2XcASc/_new  2019-10-21 12:28:29.339966703 +0200
@@ -8,7 +8,7 @@
 +WERROR :=
  FIRMWARE_FLAGS := -nostdinc -ffreestanding -fno-builtin -fno-stack-protector
  COMMON_FLAGS := -pipe ${WERROR} -Wall -Wstrict-prototypes -Wtype-limits \
-   -Wundef -Wmissing-prototypes -Wno-trigraphs -Wredundant-decls \
+   -Wundef -Wmissing-prototypes -Wno-trigraphs -Wredundant-decls -Wshadow \
 @@ -237,12 +237,6 @@
  CXX ?= g++
  PKG_CONFIG ?= pkg-config
@@ -22,7 +22,7 @@
  # Optional Libraries
  LIBZIP_VERSION := $(shell ${PKG_CONFIG} --modversion libzip 2>/dev/null)
  HAVE_LIBZIP := $(if ${LIBZIP_VERSION},1)
-@@ -1002,7 +996,6 @@
+@@ -922,7 +916,6 @@
  # Link tests for external repos
  ${BUILD}/host/linktest/extern: ${HOSTLIB}
  ${BUILD}/host/linktest/extern: LIBS = ${HOSTLIB}
@@ -30,7 +30,7 @@
  TEST_OBJS += ${BUILD}/host/linktest/extern.o
  
  .PHONY: hostlib
-@@ -1081,9 +1074,6 @@
+@@ -1001,9 +994,6 @@
  ${UTIL_BINS} ${UTIL_BINS_STATIC}: ${UTILLIB}
  ${UTIL_BINS} ${UTIL_BINS_STATIC}: LIBS = ${UTILLIB}
  

++ release-R76-12239.B.tar.gz -> release-R78-12499.B.tar.gz ++
/work/SRC/openSUSE:Factory/vboot/release-R76-12239.B.tar.gz 
/work/SRC/openSUSE:Factory/.vboot.new.2352/release-R78-12499.B.tar.gz differ: 
char 13, line 1




commit vboot for openSUSE:Factory

2019-06-27 Thread root
Hello community,

here is the log from the commit of package vboot for openSUSE:Factory checked 
in at 2019-06-27 15:26:41

Comparing /work/SRC/openSUSE:Factory/vboot (Old)
 and  /work/SRC/openSUSE:Factory/.vboot.new.4615 (New)


Package is "vboot"

Thu Jun 27 15:26:41 2019 rev:9 rq:712231 version:76.12239

Changes:

--- /work/SRC/openSUSE:Factory/vboot/vboot.changes  2019-06-13 
23:03:18.095395765 +0200
+++ /work/SRC/openSUSE:Factory/.vboot.new.4615/vboot.changes2019-06-27 
15:26:43.309636874 +0200
@@ -1,0 +2,9 @@
+Sat Jun 15 20:33:53 UTC 2019 - Kasimir _ 
+
+- Update to R76-12239:
+  * Upstream log available here:
+
https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git/+log/release-R76-12239.B
+- Update patch:
+  * fix_Makefile.patch
+
+---

Old:

  release-R72-11316.B.tar.gz

New:

  release-R76-12239.B.tar.gz



Other differences:
--
++ vboot.spec ++
--- /var/tmp/diff_new_pack.GH5ybu/_old  2019-06-27 15:26:44.377638475 +0200
+++ /var/tmp/diff_new_pack.GH5ybu/_new  2019-06-27 15:26:44.377638475 +0200
@@ -16,8 +16,8 @@
 #
 
 
-%define major_version 72
-%define minor_version 11316
+%define major_version 76
+%define minor_version 12239
 Name:   vboot
 Version:%{major_version}.%{minor_version}
 Release:0
@@ -65,8 +65,6 @@
 %files
 %doc README LICENSE
 %{_bindir}/bdb_extend
-%{_bindir}/bmpblk_font
-%{_bindir}/bmpblk_utility
 %{_bindir}/chromeos-tpm-recovery
 %{_bindir}/cgpt
 %{_bindir}/common_minimal.sh
@@ -76,8 +74,6 @@
 %{_bindir}/dumpRSAPublicKey
 %{_bindir}/dump_fmap
 %{_bindir}/dump_kernel_config
-%{_bindir}/eficompress
-%{_bindir}/efidecompress
 %{_bindir}/enable_dev_usb_boot
 %{_bindir}/futility
 %{_bindir}/gbb_flags_common.sh

++ fix_Makefile.patch ++
--- /var/tmp/diff_new_pack.GH5ybu/_old  2019-06-27 15:26:44.397638504 +0200
+++ /var/tmp/diff_new_pack.GH5ybu/_new  2019-06-27 15:26:44.397638504 +0200
@@ -1,15 +1,15 @@
 Makefile.orig  2019-01-08 09:25:08.0 +0100
-+++ Makefile   2019-01-08 09:56:52.358592482 +0100
-@@ -136,7 +136,7 @@ endif
+--- Makefile.orig  2019-06-15 21:23:18.0 +0200
 Makefile   2019-06-15 21:52:33.475014820 +0200
+@@ -136,7 +136,7 @@
  #
  # Flag ordering: arch, then -f, then -m, then -W
  DEBUG_FLAGS := $(if ${DEBUG},-g -O0,-Os)
 -WERROR := -Werror
-+WERROR := 
- COMMON_FLAGS := -nostdinc -pipe \
-   -ffreestanding -fno-builtin -fno-stack-protector \
-   ${WERROR} -Wall -Wstrict-prototypes ${DEBUG_FLAGS}
-@@ -227,12 +227,6 @@ LD = ${CC}
++WERROR :=
+ FIRMWARE_FLAGS := -nostdinc -ffreestanding -fno-builtin -fno-stack-protector
+ COMMON_FLAGS := -pipe ${WERROR} -Wall -Wstrict-prototypes -Wtype-limits \
+   -Wundef -Wmissing-prototypes -Wno-trigraphs -Wredundant-decls \
+@@ -237,12 +237,6 @@
  CXX ?= g++
  PKG_CONFIG ?= pkg-config
  
@@ -22,7 +22,7 @@
  # Optional Libraries
  LIBZIP_VERSION := $(shell ${PKG_CONFIG} --modversion libzip 2>/dev/null)
  HAVE_LIBZIP := $(if ${LIBZIP_VERSION},1)
-@@ -1007,7 +1001,6 @@ ${UTILBDB}: ${UTILBDB_OBJS} ${BDBLIB_OBJ
+@@ -1002,7 +996,6 @@
  # Link tests for external repos
  ${BUILD}/host/linktest/extern: ${HOSTLIB}
  ${BUILD}/host/linktest/extern: LIBS = ${HOSTLIB}
@@ -30,14 +30,14 @@
  TEST_OBJS += ${BUILD}/host/linktest/extern.o
  
  .PHONY: hostlib
-@@ -1098,10 +1091,6 @@ ${BUILD}/utility/%: INCLUDES += -Iutilit
+@@ -1081,9 +1074,6 @@
  ${UTIL_BINS} ${UTIL_BINS_STATIC}: ${UTILLIB}
  ${UTIL_BINS} ${UTIL_BINS_STATIC}: LIBS = ${UTILLIB}
  
 -# Utilities for auto-update toolkits must be statically linked.
 -${UTIL_BINS_STATIC}: LDFLAGS += -static
 -
--
+ 
  .PHONY: utils
  utils: ${UTIL_BINS} ${UTIL_SCRIPTS}
-   ${Q}cp -f ${UTIL_SCRIPTS} ${BUILD}/utility
+ 
\ No newline at end of file

++ release-R72-11316.B.tar.gz -> release-R76-12239.B.tar.gz ++
/work/SRC/openSUSE:Factory/vboot/release-R72-11316.B.tar.gz 
/work/SRC/openSUSE:Factory/.vboot.new.4615/release-R76-12239.B.tar.gz differ: 
char 34, line 2




commit vboot for openSUSE:Factory

2019-06-13 Thread root
Hello community,

here is the log from the commit of package vboot for openSUSE:Factory checked 
in at 2019-06-13 23:03:16

Comparing /work/SRC/openSUSE:Factory/vboot (Old)
 and  /work/SRC/openSUSE:Factory/.vboot.new.4811 (New)


Package is "vboot"

Thu Jun 13 23:03:16 2019 rev:8 rq:709536 version:72.11316

Changes:

--- /work/SRC/openSUSE:Factory/vboot/vboot.changes  2019-01-08 
12:31:58.504043686 +0100
+++ /work/SRC/openSUSE:Factory/.vboot.new.4811/vboot.changes2019-06-13 
23:03:18.095395765 +0200
@@ -1,0 +2,5 @@
+Wed Jun 12 12:47:09 UTC 2019 - Bernhard Wiedemann 
+
+- Add reproducible.patch to override build date (boo#1047218)
+
+---

New:

  reproducible.patch



Other differences:
--
++ vboot.spec ++
--- /var/tmp/diff_new_pack.omNxjY/_old  2019-06-13 23:03:19.003394976 +0200
+++ /var/tmp/diff_new_pack.omNxjY/_new  2019-06-13 23:03:19.007394973 +0200
@@ -30,6 +30,7 @@
 # Disable static builds
 Patch1: fix_Makefile.patch
 Patch2: Fix-arch-detection-for-armv6.patch
+Patch3: reproducible.patch
 BuildRequires:  gcc-c++
 BuildRequires:  libgnutls-devel
 BuildRequires:  libuuid-devel
@@ -47,6 +48,7 @@
 %setup -q -c
 %patch1
 %patch2 -p1
+%patch3 -p1
 
 %build
 export CFLAGS="-D_GNU_SOURCE %{optflags}"

++ reproducible.patch ++
Index: vboot-66.10452/scripts/getversion.sh
===
--- vboot-66.10452.orig/scripts/getversion.sh
+++ vboot-66.10452/scripts/getversion.sh
@@ -28,6 +28,6 @@ else
ver="unknown"
 fi
 
-date=$(date '+%F %T')
+date=$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%s)} '+%F %T')
 
 echo "const char futility_version[] = \"${ver} ${date} ${USER}\";";



commit vboot for openSUSE:Factory

2019-01-08 Thread root
Hello community,

here is the log from the commit of package vboot for openSUSE:Factory checked 
in at 2019-01-08 12:30:21

Comparing /work/SRC/openSUSE:Factory/vboot (Old)
 and  /work/SRC/openSUSE:Factory/.vboot.new.28833 (New)


Package is "vboot"

Tue Jan  8 12:30:21 2019 rev:7 rq:663599 version:72.11316

Changes:

--- /work/SRC/openSUSE:Factory/vboot/vboot.changes  2018-09-11 
17:21:15.747046073 +0200
+++ /work/SRC/openSUSE:Factory/.vboot.new.28833/vboot.changes   2019-01-08 
12:31:58.504043686 +0100
@@ -1,0 +2,9 @@
+Tue Jan  8 08:46:01 UTC 2019 - Guillaume GARDET 
+
+- Update to R72-11316:
+  * Upstream log available here: 
+  
https://chromium.googlesource.com/chromiumos/platform/vboot_reference.git/+log/release-R72-11316.B
+- Update patch:
+  * fix_Makefile.patch
+
+---

Old:

  release-R70-11021.B.tar.gz

New:

  release-R72-11316.B.tar.gz



Other differences:
--
++ vboot.spec ++
--- /var/tmp/diff_new_pack.o2uy8x/_old  2019-01-08 12:31:59.432042679 +0100
+++ /var/tmp/diff_new_pack.o2uy8x/_new  2019-01-08 12:31:59.436042674 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package vboot
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,12 +12,12 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
-%define major_version 70
-%define minor_version 11021
+%define major_version 72
+%define minor_version 11316
 Name:   vboot
 Version:%{major_version}.%{minor_version}
 Release:0
@@ -78,7 +78,6 @@
 %{_bindir}/efidecompress
 %{_bindir}/enable_dev_usb_boot
 %{_bindir}/futility
-%{_bindir}/futility_s
 %{_bindir}/gbb_flags_common.sh
 %{_bindir}/gbb_utility
 %{_bindir}/get_gbb_flags.sh

++ fix_Makefile.patch ++
--- /var/tmp/diff_new_pack.o2uy8x/_old  2019-01-08 12:31:59.460042648 +0100
+++ /var/tmp/diff_new_pack.o2uy8x/_new  2019-01-08 12:31:59.460042648 +0100
@@ -1,5 +1,14 @@
 Makefile.orig  2018-03-02 20:45:50.0 +0100
-+++ Makefile   2018-03-02 21:52:49.564224600 +0100
+--- Makefile.orig  2019-01-08 09:25:08.0 +0100
 Makefile   2019-01-08 09:56:52.358592482 +0100
+@@ -136,7 +136,7 @@ endif
+ #
+ # Flag ordering: arch, then -f, then -m, then -W
+ DEBUG_FLAGS := $(if ${DEBUG},-g -O0,-Os)
+-WERROR := -Werror
++WERROR := 
+ COMMON_FLAGS := -nostdinc -pipe \
+   -ffreestanding -fno-builtin -fno-stack-protector \
+   ${WERROR} -Wall -Wstrict-prototypes ${DEBUG_FLAGS}
 @@ -227,12 +227,6 @@ LD = ${CC}
  CXX ?= g++
  PKG_CONFIG ?= pkg-config
@@ -10,10 +19,10 @@
 -PKG_CONFIG += --static
 -endif
 -
- # Determine QEMU architecture needed, if any
- ifeq (${ARCH},${HOST_ARCH})
-   # Same architecture; no need for QEMU
-@@ -991,7 +985,6 @@ ${UTILBDB}: ${UTILBDB_OBJS} ${BDBLIB_OBJ
+ # Optional Libraries
+ LIBZIP_VERSION := $(shell ${PKG_CONFIG} --modversion libzip 2>/dev/null)
+ HAVE_LIBZIP := $(if ${LIBZIP_VERSION},1)
+@@ -1007,7 +1001,6 @@ ${UTILBDB}: ${UTILBDB_OBJS} ${BDBLIB_OBJ
  # Link tests for external repos
  ${BUILD}/host/linktest/extern: ${HOSTLIB}
  ${BUILD}/host/linktest/extern: LIBS = ${HOSTLIB}
@@ -21,7 +30,7 @@
  TEST_OBJS += ${BUILD}/host/linktest/extern.o
  
  .PHONY: hostlib
-@@ -1082,10 +1075,6 @@ ${BUILD}/utility/%: INCLUDES += -Iutilit
+@@ -1098,10 +1091,6 @@ ${BUILD}/utility/%: INCLUDES += -Iutilit
  ${UTIL_BINS} ${UTIL_BINS_STATIC}: ${UTILLIB}
  ${UTIL_BINS} ${UTIL_BINS_STATIC}: LIBS = ${UTILLIB}
  
@@ -32,12 +41,3 @@
  .PHONY: utils
  utils: ${UTIL_BINS} ${UTIL_SCRIPTS}
${Q}cp -f ${UTIL_SCRIPTS} ${BUILD}/utility
-@@ -1117,7 +1106,7 @@ futil: ${FUTIL_STATIC_BIN} ${FUTIL_BIN}
- ${FUTIL_STATIC_BIN}: LDLIBS += ${CRYPTO_STATIC_LIBS} -lpthread
- ${FUTIL_STATIC_BIN}: ${FUTIL_STATIC_OBJS} ${UTILLIB}
-   @${PRINTF} "LD$(subst ${BUILD}/,,$@)\n"
--  ${Q}${LD} -o $@ ${CFLAGS} ${LDFLAGS} -static $^ ${LDLIBS}
-+  ${Q}${LD} -o $@ ${CFLAGS} ${LDFLAGS} $^ ${LDLIBS}
- 
- ${FUTIL_BIN}: LDLIBS += ${CRYPTO_LIBS}
- ${FUTIL_BIN}: ${FUTIL_OBJS} ${UTILLIB} ${FWLIB20} ${UTILBDB}

++ release-R70-11021.B.tar.gz -> release-R72-11316.B.tar.gz ++
/work/SRC/openSUSE:Factory/vboot/release-R70-11021.B.tar.gz 
/work/SRC/openSUSE:Factory/.vboot.new.28833/release-R72-11316.B.tar.gz differ: 
char 30, line 2




commit vboot for openSUSE:Factory

2018-09-11 Thread root
Hello community,

here is the log from the commit of package vboot for openSUSE:Factory checked 
in at 2018-09-11 17:21:11

Comparing /work/SRC/openSUSE:Factory/vboot (Old)
 and  /work/SRC/openSUSE:Factory/.vboot.new (New)


Package is "vboot"

Tue Sep 11 17:21:11 2018 rev:6 rq:634954 version:70.11021

Changes:

--- /work/SRC/openSUSE:Factory/vboot/vboot.changes  2018-08-18 
00:05:42.611363936 +0200
+++ /work/SRC/openSUSE:Factory/.vboot.new/vboot.changes 2018-09-11 
17:21:15.747046073 +0200
@@ -1,0 +2,18 @@
+Tue Sep 11 11:43:43 UTC 2018 - guillaume.gar...@opensuse.org
+
+- Update to R70-11021:
+  * cgpt: add edit command
+  * cgpt: show verbose details when primary ignored
+  * vboot_reference: sync flags with eve-campfire branch
+  * vboot: remove line length check from lsb_syntaxcheck()
+  * vboot_reference: Change OOBE autoconfig TPM space to storing 
+32-byte hash
+  * Add AltOS NVRAM flags
+  * vboot: bulk fix tabs and spacing inconsistency
+  * vboot_reference: Add recoverysw_is_virtual flag to crossystem
+  * vboot: Add .clang-format file
+  * vbutil_what_keys: support 16 MB firmware images
+  * image_signing: strip_boot: support device node inputs
+  * vboot_reference: Claim space for OOBE autoconfig public key
+
+---

Old:

  release-R69-10895.B.tar.gz

New:

  release-R70-11021.B.tar.gz



Other differences:
--
++ vboot.spec ++
--- /var/tmp/diff_new_pack.hk4lkp/_old  2018-09-11 17:21:16.691044634 +0200
+++ /var/tmp/diff_new_pack.hk4lkp/_new  2018-09-11 17:21:16.691044634 +0200
@@ -16,8 +16,8 @@
 #
 
 
-%define major_version 69
-%define minor_version 10895
+%define major_version 70
+%define minor_version 11021
 Name:   vboot
 Version:%{major_version}.%{minor_version}
 Release:0

++ release-R69-10895.B.tar.gz -> release-R70-11021.B.tar.gz ++
/work/SRC/openSUSE:Factory/vboot/release-R69-10895.B.tar.gz 
/work/SRC/openSUSE:Factory/.vboot.new/release-R70-11021.B.tar.gz differ: char 
70, line 2




commit vboot for openSUSE:Factory

2018-08-17 Thread root
Hello community,

here is the log from the commit of package vboot for openSUSE:Factory checked 
in at 2018-08-18 00:05:33

Comparing /work/SRC/openSUSE:Factory/vboot (Old)
 and  /work/SRC/openSUSE:Factory/.vboot.new (New)


Package is "vboot"

Sat Aug 18 00:05:33 2018 rev:5 rq:629718 version:69.10895

Changes:

--- /work/SRC/openSUSE:Factory/vboot/vboot.changes  2018-06-19 
11:55:59.207133693 +0200
+++ /work/SRC/openSUSE:Factory/.vboot.new/vboot.changes 2018-08-18 
00:05:42.611363936 +0200
@@ -1,0 +2,19 @@
+Thu Aug 16 13:38:49 UTC 2018 - guillaume.gar...@opensuse.org
+
+- Update to R69-10895:
+  * signer: fix accessory_rwsig signing
+  * image_singing: Add '--nodefault_rw_root' for make_dev_ssd.sh
+  * inherit-review-settings-ok/WATCHLISTS: punt old unused files
+  * vboot_aux_fw: Add new return code to handle busy case
+  * nocturne-fp: copypasta script to generate keypair for signing FW
+  * vboot_reference: fix the build for arm64
+  * keygeneration: make the certificates valid for 10 years
+  * futility: Add --arch=arm64 option to vbutil_kernel
+  * stop statically linking crossystem
+  * keygeneration: add --no-pk option for UEFI key generation
+- Refresh patch after partial upstream merge:
+  * fix_Makefile.patch
+- Refresh patch:
+  * Fix-arch-detection-for-armv6.patch
+
+---

Old:

  release-R68-10718.B.tar.gz

New:

  release-R69-10895.B.tar.gz



Other differences:
--
++ vboot.spec ++
--- /var/tmp/diff_new_pack.kHoUir/_old  2018-08-18 00:05:45.727373266 +0200
+++ /var/tmp/diff_new_pack.kHoUir/_new  2018-08-18 00:05:45.731373277 +0200
@@ -16,8 +16,8 @@
 #
 
 
-%define major_version 68
-%define minor_version 10718
+%define major_version 69
+%define minor_version 10895
 Name:   vboot
 Version:%{major_version}.%{minor_version}
 Release:0

++ Fix-arch-detection-for-armv6.patch ++
--- /var/tmp/diff_new_pack.kHoUir/_old  2018-08-18 00:05:45.755373349 +0200
+++ /var/tmp/diff_new_pack.kHoUir/_new  2018-08-18 00:05:45.755373349 +0200
@@ -16,10 +16,8 @@
override ARCH := arm
 +else ifeq (${ARCH},armv6l)
 +  override ARCH := arm
- else ifeq (${ARCH},aarch64)
+ else ifneq (,$(filter aarch64 arm64,${ARCH}))
override ARCH := arm
  else ifeq (${ARCH},i386)
-   override ARCH := x86
- else ifeq (${ARCH},i686)
 -- 
-2.12.3
\ No newline at end of file
+2.12.3

++ fix_Makefile.patch ++
--- /var/tmp/diff_new_pack.kHoUir/_old  2018-08-18 00:05:45.795373468 +0200
+++ /var/tmp/diff_new_pack.kHoUir/_new  2018-08-18 00:05:45.795373468 +0200
@@ -13,21 +13,6 @@
  # Determine QEMU architecture needed, if any
  ifeq (${ARCH},${HOST_ARCH})
# Same architecture; no need for QEMU
-@@ -589,11 +583,11 @@ UTIL_SCRIPTS += \
- endif
- 
- # These utilities should also provide static linked version (*_s).
--UTIL_NAMES_STATIC = \
--  utility/crossystem
-+# UTIL_NAMES_STATIC = \
-+# utility/crossystem
- 
- UTIL_NAMES = \
--  ${UTIL_NAMES_STATIC} \
-+  utility/crossystem \
-   utility/dumpRSAPublicKey \
-   utility/tpmc
- 
 @@ -991,7 +985,6 @@ ${UTILBDB}: ${UTILBDB_OBJS} ${BDBLIB_OBJ
  # Link tests for external repos
  ${BUILD}/host/linktest/extern: ${HOSTLIB}

++ release-R68-10718.B.tar.gz -> release-R69-10895.B.tar.gz ++
/work/SRC/openSUSE:Factory/vboot/release-R68-10718.B.tar.gz 
/work/SRC/openSUSE:Factory/.vboot.new/release-R69-10895.B.tar.gz differ: char 
13, line 1




commit vboot for openSUSE:Factory

2018-06-19 Thread root
Hello community,

here is the log from the commit of package vboot for openSUSE:Factory checked 
in at 2018-06-19 11:55:57

Comparing /work/SRC/openSUSE:Factory/vboot (Old)
 and  /work/SRC/openSUSE:Factory/.vboot.new (New)


Package is "vboot"

Tue Jun 19 11:55:57 2018 rev:4 rq:616239 version:68.10718

Changes:

--- /work/SRC/openSUSE:Factory/vboot/vboot.changes  2018-05-02 
12:20:09.096394722 +0200
+++ /work/SRC/openSUSE:Factory/.vboot.new/vboot.changes 2018-06-19 
11:55:59.207133693 +0200
@@ -1,0 +2,24 @@
+Mon Jun 11 16:04:03 UTC 2018 - guillaume.gar...@opensuse.org
+
+- Update to R68-10718:
+  * tpm_lite: stub: retry in case of TPM comm error
+  * crossystem: Add BINF3_LEGACY for systems boot in legacy mode
+  * vboot_reference: Build host tools conditionally
+  * tpm_lite: Set O_CLOEXEC when opening TPM device
+  * image_signing: Add sha1sum of the recovery key to VERSION.signer
+  * make_dev_firmware.sh: correct typo
+  * image_signing: Add sha1sum of a key without loem keyset to VERSION.signer
+  * sign_official_build: switch kernel/firmware signing to loopdevs
+  * sign_official_build.sh: dump more md5sum on bios.bin
+  * cgpt: Remove unnecessary 512-byte sector check and minimum lba count checks
+  * gbb_flags_common.sh: Add GBB_FLAG_ENABLE_UDC to help text
+  * image_signing: clean up UEFI signing/verifying code
+  * keygeneration: clean up for UEFI key generation code
+  * keygeneration: drop board name from UEFI key generation scripts
+  * Update Android signing to support signature scheme v2
+  * whiskers: Add script to generate keypair for signing FW
+  * image_signing: sign UEFI binaries
+  * devkeys: add test keys for UEFI
+  * keygeneration: add support for UEFI key generation 
+
+---

Old:

  release-R67-10575.B.tar.gz

New:

  release-R68-10718.B.tar.gz



Other differences:
--
++ vboot.spec ++
--- /var/tmp/diff_new_pack.UGhxMa/_old  2018-06-19 11:56:00.627080976 +0200
+++ /var/tmp/diff_new_pack.UGhxMa/_new  2018-06-19 11:56:00.631080827 +0200
@@ -16,8 +16,8 @@
 #
 
 
-%define major_version 67
-%define minor_version 10575
+%define major_version 68
+%define minor_version 10718
 Name:   vboot
 Version:%{major_version}.%{minor_version}
 Release:0

++ release-R67-10575.B.tar.gz -> release-R68-10718.B.tar.gz ++
/work/SRC/openSUSE:Factory/vboot/release-R67-10575.B.tar.gz 
/work/SRC/openSUSE:Factory/.vboot.new/release-R68-10718.B.tar.gz differ: char 
13, line 1




commit vboot for openSUSE:Factory

2018-05-02 Thread root
Hello community,

here is the log from the commit of package vboot for openSUSE:Factory checked 
in at 2018-05-02 12:20:01

Comparing /work/SRC/openSUSE:Factory/vboot (Old)
 and  /work/SRC/openSUSE:Factory/.vboot.new (New)


Package is "vboot"

Wed May  2 12:20:01 2018 rev:3 rq:602992 version:67.10575

Changes:

--- /work/SRC/openSUSE:Factory/vboot/vboot.changes  2018-03-19 
23:38:32.768989863 +0100
+++ /work/SRC/openSUSE:Factory/.vboot.new/vboot.changes 2018-05-02 
12:20:09.096394722 +0200
@@ -1,0 +2,32 @@
+Mon Apr 30 11:33:53 UTC 2018 - guillaume.gar...@opensuse.org
+
+- Update to R67-10575:
+  * Add new NV and GBB flag to control UDC
+  * tpm_lite: tpmc command to check owner auth
+  * tpm_lite: Add TlclGetSpaceInfo
+  * tpm_lite: Add missing NVRAM attribute constant
+  * tpm_lite: Support delegation family functional
+  * tpm_lite: Add more general DefineSpaceEx funct
+  * tpm_lite: Implement TakeOwnership support
+  * tpm_lite: Implement ReadPubek command
+  * cgpt: Remove hard coded 512 block size
+  * tpm_lite: Introduce cursor read helpers
+  * tpm_lite: Drop FOR_TEST for tlcl.c by
+  * Add a script to generate a keypair for signing
+  * crossystem: Clarify help string for dev_defaul
+  * ec_sync: Go to recovery on aux fw update failu
+  * ec_sync: Add recovery reason for aux update fa
+  * firmware: tpm2_lite: fix command/response code
+  * firmware: tpm2_lite: propagate actual errors
+  * firmware: move TPM_E constants to tss_constant
+  * Add GBB_FLAG_DISABLE_FWMP documentation to set
+  * Add new GBB_FLAG_FORCE_MANUAL_RECOVERY
+  * arc: Enable packages cache generation during s
+  * crossystem: Fix mosys data length check by Ran
+  * crossystem: Fix null pointer dereference on VM
+  * firmware: remove unused vboot1 APIs
+  * crossystem: add support for CNL gpiochip
+  * 2lib: Add support for 64-byte nvstorage record
+  * firmware: Remove deprecated SW_WP_ENABLED flag
+
+---

Old:

  release-R66-10452.B.tar.gz

New:

  release-R67-10575.B.tar.gz



Other differences:
--
++ vboot.spec ++
--- /var/tmp/diff_new_pack.3s3b4j/_old  2018-05-02 12:20:11.732298549 +0200
+++ /var/tmp/diff_new_pack.3s3b4j/_new  2018-05-02 12:20:11.736298403 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package vboot
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,8 +16,8 @@
 #
 
 
-%define major_version 66
-%define minor_version 10452
+%define major_version 67
+%define minor_version 10575
 Name:   vboot
 Version:%{major_version}.%{minor_version}
 Release:0

++ release-R66-10452.B.tar.gz -> release-R67-10575.B.tar.gz ++
/work/SRC/openSUSE:Factory/vboot/release-R66-10452.B.tar.gz 
/work/SRC/openSUSE:Factory/.vboot.new/release-R67-10575.B.tar.gz differ: char 
12, line 1




commit vboot for openSUSE:Factory

2018-03-19 Thread root
Hello community,

here is the log from the commit of package vboot for openSUSE:Factory checked 
in at 2018-03-19 23:38:30

Comparing /work/SRC/openSUSE:Factory/vboot (Old)
 and  /work/SRC/openSUSE:Factory/.vboot.new (New)


Package is "vboot"

Mon Mar 19 23:38:30 2018 rev:2 rq:588320 version:66.10452

Changes:

--- /work/SRC/openSUSE:Factory/vboot/vboot.changes  2018-01-24 
15:28:34.119794241 +0100
+++ /work/SRC/openSUSE:Factory/.vboot.new/vboot.changes 2018-03-19 
23:38:32.768989863 +0100
@@ -1,0 +2,16 @@
+Wed Mar 14 21:37:13 UTC 2018 - kasim...@outlook.de
+
+- Update to R66-10452
+  * firmware: Remove VbLockDevice()
+
+---
+Wed Mar  7 17:58:59 UTC 2018 - kasim...@outlook.de
+
+- Update to R65-10323
+  * EC-EFS: Copy dev keys from platform/ec
+- removed obsolete Fix-arch-detection-for-aarch64.patch
+- Add patch to enable armv6 build
+  * Fix-arch-detection-for-armv6.patch
+- Update fix_Makefile.patch
+
+---

Old:

  Fix-arch-detection-for-aarch64.patch
  release-R64-10176.B.tar.gz

New:

  Fix-arch-detection-for-armv6.patch
  release-R66-10452.B.tar.gz



Other differences:
--
++ vboot.spec ++
--- /var/tmp/diff_new_pack.1RlGqk/_old  2018-03-19 23:38:34.280935321 +0100
+++ /var/tmp/diff_new_pack.1RlGqk/_new  2018-03-19 23:38:34.284935177 +0100
@@ -16,8 +16,8 @@
 #
 
 
-%define major_version 64
-%define minor_version 10176
+%define major_version 66
+%define minor_version 10452
 Name:   vboot
 Version:%{major_version}.%{minor_version}
 Release:0
@@ -29,7 +29,7 @@
 Source: release-R%{major_version}-%{minor_version}.B.tar.gz
 # Disable static builds
 Patch1: fix_Makefile.patch
-Patch2: Fix-arch-detection-for-aarch64.patch
+Patch2: Fix-arch-detection-for-armv6.patch
 BuildRequires:  gcc-c++
 BuildRequires:  libgnutls-devel
 BuildRequires:  libuuid-devel
@@ -79,7 +79,9 @@
 %{_bindir}/enable_dev_usb_boot
 %{_bindir}/futility
 %{_bindir}/futility_s
+%{_bindir}/gbb_flags_common.sh
 %{_bindir}/gbb_utility
+%{_bindir}/get_gbb_flags.sh
 %{_bindir}/load_kernel_test
 %{_bindir}/make_dev_firmware.sh
 %{_bindir}/make_dev_ssd.sh

++ Fix-arch-detection-for-armv6.patch ++
From: kasimir 
Date: Mon, 5 Mar 2018 20:59:15 +0100
Subject: [PATCH] Fix arch detection for armv6

---
 Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Makefile b/Makefile
index 013c6d8a..0f66a95c 100644
--- a/Makefile
+++ b/Makefile
@@ -103,6 +103,8 @@ endif
 
 ifeq (${ARCH},armv7l)
   override ARCH := arm
+else ifeq (${ARCH},armv6l)
+  override ARCH := arm
 else ifeq (${ARCH},aarch64)
   override ARCH := arm
 else ifeq (${ARCH},i386)
   override ARCH := x86
 else ifeq (${ARCH},i686)
-- 
2.12.3++ fix_Makefile.patch ++
--- /var/tmp/diff_new_pack.1RlGqk/_old  2018-03-19 23:38:34.328933590 +0100
+++ /var/tmp/diff_new_pack.1RlGqk/_new  2018-03-19 23:38:34.332933445 +0100
@@ -1,6 +1,6 @@
 Makefile.orig  2017-11-28 14:32:14.350700249 +0100
-+++ Makefile   2017-11-28 14:47:47.200437723 +0100
-@@ -229,12 +229,6 @@ LD = ${CC}
+--- Makefile.orig  2018-03-02 20:45:50.0 +0100
 Makefile   2018-03-02 21:52:49.564224600 +0100
+@@ -227,12 +227,6 @@ LD = ${CC}
  CXX ?= g++
  PKG_CONFIG ?= pkg-config
  
@@ -13,7 +13,7 @@
  # Determine QEMU architecture needed, if any
  ifeq (${ARCH},${HOST_ARCH})
# Same architecture; no need for QEMU
-@@ -595,11 +589,11 @@ UTIL_SCRIPTS += \
+@@ -589,11 +583,11 @@ UTIL_SCRIPTS += \
  endif
  
  # These utilities should also provide static linked version (*_s).
@@ -28,7 +28,7 @@
utility/dumpRSAPublicKey \
utility/tpmc
  
-@@ -1004,7 +998,6 @@ ${UTILBDB}: ${UTILBDB_OBJS} ${BDBLIB_OBJ
+@@ -991,7 +985,6 @@ ${UTILBDB}: ${UTILBDB_OBJS} ${BDBLIB_OBJ
  # Link tests for external repos
  ${BUILD}/host/linktest/extern: ${HOSTLIB}
  ${BUILD}/host/linktest/extern: LIBS = ${HOSTLIB}
@@ -36,7 +36,7 @@
  TEST_OBJS += ${BUILD}/host/linktest/extern.o
  
  .PHONY: hostlib
-@@ -1095,10 +1088,6 @@ ${BUILD}/utility/%: INCLUDES += -Iutilit
+@@ -1082,10 +1075,6 @@ ${BUILD}/utility/%: INCLUDES += -Iutilit
  ${UTIL_BINS} ${UTIL_BINS_STATIC}: ${UTILLIB}
  ${UTIL_BINS} ${UTIL_BINS_STATIC}: LIBS = ${UTILLIB}
  
@@ -47,12 +47,12 @@
  .PHONY: utils
  utils: ${UTIL_BINS} ${UTIL_SCRIPTS}
${Q}cp -f ${UTIL_SCRIPTS} ${BUILD}/utility
-@@ -1130,7 +1119,7 @@ futil: ${FUTIL_STATIC_BIN} ${FUTIL_BIN}
- ${FUTIL_STATIC_BIN}: LDLIBS += ${CRYPTO_STATIC_LIBS}
+@@ -1117,7 +1106,7 @@ futil: ${FUTIL_STATIC_BIN} ${FUTIL_BIN}
+ ${FUTIL_STATIC_BIN}: LDLIBS += ${CRYPTO_STATIC_LIBS} -lpthread
  ${FUTIL_STATIC_BIN}: ${FUTIL_STATIC_OBJS} ${UTILLIB}