Hello community,
here is the log from the commit of package perl-Bootloader for openSUSE:Factory
checked in at 2020-04-27 23:30:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old)
and /work/SRC/openSUSE:Factory/.perl-Bootloader.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "perl-Bootloader"
Mon Apr 27 23:30:26 2020 rev:188 rq:797106 version:0.927
Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes
2019-10-21 12:25:33.183767011 +0200
+++
/work/SRC/openSUSE:Factory/.perl-Bootloader.new.2738/perl-Bootloader.changes
2020-04-27 23:30:44.594629062 +0200
@@ -1,0 +2,7 @@
+Fri Apr 24 10:30:48 UTC 2020 - [email protected]
+
+- merge gh#openSUSE/perl-bootloader#126
+- always install EFI fallback boot for aarch64 (bsc#1167015)
+- 0.927
+
+--------------------------------------------------------------------
Old:
----
perl-Bootloader-0.926.tar.xz
New:
----
perl-Bootloader-0.927.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ perl-Bootloader.spec ++++++
--- /var/tmp/diff_new_pack.7lHjLy/_old 2020-04-27 23:30:45.282630405 +0200
+++ /var/tmp/diff_new_pack.7lHjLy/_new 2020-04-27 23:30:45.286630413 +0200
@@ -1,7 +1,7 @@
#
# spec file for package perl-Bootloader
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 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
@@ -17,7 +17,7 @@
Name: perl-Bootloader
-Version: 0.926
+Version: 0.927
Release: 0
Requires: coreutils
Requires: perl-base = %{perl_version}
++++++ perl-Bootloader-0.926.tar.xz -> perl-Bootloader-0.927.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/perl-Bootloader-0.926/VERSION
new/perl-Bootloader-0.927/VERSION
--- old/perl-Bootloader-0.926/VERSION 2019-10-14 13:37:54.000000000 +0200
+++ new/perl-Bootloader-0.927/VERSION 2020-04-24 12:30:48.000000000 +0200
@@ -1 +1 @@
-0.926
+0.927
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/perl-Bootloader-0.926/changelog
new/perl-Bootloader-0.927/changelog
--- old/perl-Bootloader-0.926/changelog 2019-10-14 13:37:54.000000000 +0200
+++ new/perl-Bootloader-0.927/changelog 2020-04-24 12:30:48.000000000 +0200
@@ -1,3 +1,7 @@
+2020-04-24: 0.927
+ - merge gh#openSUSE/perl-bootloader#126
+ - always install EFI fallback boot for aarch64 (bsc#1167015)
+
2019-10-14: 0.926
- merge gh#openSUSE/perl-bootloader#123
- Accept sysconfig values without quotes
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/perl-Bootloader-0.926/grub2-efi/install
new/perl-Bootloader-0.927/grub2-efi/install
--- old/perl-Bootloader-0.926/grub2-efi/install 2019-10-14 13:37:54.000000000
+0200
+++ new/perl-Bootloader-0.927/grub2-efi/install 2020-04-24 12:30:48.000000000
+0200
@@ -47,13 +47,17 @@
# there is at least one efi variable visible. On systems without working NVRAM,
# we either see no efivars at all (booted via non-EFI entry point) or there is
# no efi variable exposed. Install grub in the removable location there.
+no_nvram_opts="--no-nvram --removable"
+has_nvram=0
append=
-if [ ! -d /sys/firmware/efi/efivars -o ! "$(ls -A /sys/firmware/efi/efivars)"
]; then
- append="--no-nvram --removable"
+if [ ! -d /sys/firmware/efi/efivars -o ! "$(ls -A /sys/firmware/efi/efivars)"
] ; then
+ append="$no_nvram_opts"
+else
+ has_nvram=1
fi
if [ "$SYS__BOOTLOADER__TRUSTED_BOOT" = yes -a -f
"/usr/lib/grub2/$target/tpm.mod" ] ; then
- append="$append --suse-enable-tpm"
+ append="$append --suse-enable-tpm"
fi
if [ "$SYS__BOOTLOADER__SECURE_BOOT" = "yes" -a "$target" != "arm64" ] ; then
@@ -65,9 +69,13 @@
fi
elif [ -x /usr/sbin/grub2-install ] ; then
# Use '--suse-force-signed' when shim is not used (aarch64 case)
- if [ "$SYS__BOOTLOADER__SECURE_BOOT" = "yes" ]; then
+ if [ "$SYS__BOOTLOADER__SECURE_BOOT" = "yes" ] ; then
append="$append --suse-force-signed"
fi
+ if [ "$has_nvram" = 1 -a "$target" = "arm64" ] ; then
+ # some arm firmwares need the fallback even though they have nvram vars
(bsc#1167015)
+ ( set -x ; /usr/sbin/grub2-install --target="$target" $append
$no_nvram_opts )
+ fi
( set -x ; /usr/sbin/grub2-install --target="$target" $append )
else
echo "grub2-install: command not found"