Hello community,

here is the log from the commit of package perl-Bootloader for openSUSE:Factory 
checked in at 2016-03-04 19:30:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perl-Bootloader (Old)
 and      /work/SRC/openSUSE:Factory/.perl-Bootloader.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perl-Bootloader"

Changes:
--------
--- /work/SRC/openSUSE:Factory/perl-Bootloader/perl-Bootloader.changes  
2016-02-18 12:35:25.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes     
2016-03-04 19:30:04.000000000 +0100
@@ -1,0 +2,7 @@
+Thu Mar  3 11:37:18 UTC 2016 - snw...@suse.com
+
+- grub2-efi: Allow fallback to removable booting
+- grub2-efi: Make 32bit arm be a wildcard match
+- 0.907
+
+-------------------------------------------------------------------

Old:
----
  perl-Bootloader-0.906.tar.xz

New:
----
  perl-Bootloader-0.907.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perl-Bootloader.spec ++++++
--- /var/tmp/diff_new_pack.UTvfU8/_old  2016-03-04 19:30:05.000000000 +0100
+++ /var/tmp/diff_new_pack.UTvfU8/_new  2016-03-04 19:30:05.000000000 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           perl-Bootloader
-Version:        0.906
+Version:        0.907
 Release:        0
 Requires:       coreutils
 Requires:       perl-base = %{perl_version}

++++++ perl-Bootloader-0.906.tar.xz -> perl-Bootloader-0.907.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/perl-Bootloader-0.906/VERSION 
new/perl-Bootloader-0.907/VERSION
--- old/perl-Bootloader-0.906/VERSION   2016-02-08 11:35:19.000000000 +0100
+++ new/perl-Bootloader-0.907/VERSION   2016-03-03 12:32:26.000000000 +0100
@@ -1 +1 @@
-0.906
+0.907
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/perl-Bootloader-0.906/changelog 
new/perl-Bootloader-0.907/changelog
--- old/perl-Bootloader-0.906/changelog 2016-02-08 11:35:19.000000000 +0100
+++ new/perl-Bootloader-0.907/changelog 2016-03-03 12:32:26.000000000 +0100
@@ -1,3 +1,7 @@
+2016-03-01:    0.907
+       - grub2-efi: Allow fallback to removable booting
+       - grub2-efi: Make 32bit arm be a wildcard match
+
 2016-02-08:    0.906
        - fix misleading error message (bsc #965499)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/perl-Bootloader-0.906/grub2-efi/install 
new/perl-Bootloader-0.907/grub2-efi/install
--- old/perl-Bootloader-0.906/grub2-efi/install 2016-02-08 11:35:19.000000000 
+0100
+++ new/perl-Bootloader-0.907/grub2-efi/install 2016-03-03 12:32:26.000000000 
+0100
@@ -11,17 +11,38 @@
   i?86 ) target=i386 ;;
   x86_64 | amd64 ) target=x86_64 ;;
   aarch64 ) target=arm64 ;;
-  armv7l ) target=arm ;;
+  arm* ) target=arm ;;
 esac
 
 target="$target-efi"
 
 echo "target = $target"
 
+# EFI has 2 boot paths. The default is that there is a target file listed in
+# the boot list. The boot list is stored in NVRAM and exposed as efivars.
+#
+# If no entry in the boot list was bootable (or a removable media is in the
+# boot list), EFI falls back to removable media booting which loads a default
+# file from /efi/boot/boot.efi.
+#
+# On U-Boot EFI capable systems we do not have NVRAM because we would have to
+# store that on the same flash that Linux may be running on, creating device
+# ownership conflicts. So on those systems we instead have to rely on the
+# removable boot case.
+#
+# The easiest heuristic is that on "normal" EFI systems with working NVRAM,
+# 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.
+append=
+if [ ! -d /sys/firmware/efi/efivars -o ! "$(ls -A /sys/firmware/efi/efivars)" 
]; then
+       append="--no-nvram --removable"
+fi
+
 if [ -x /usr/sbin/shim-install ] ; then
-  ( set -x ; /usr/sbin/shim-install --config-file=/boot/grub2/grub.cfg )
+  ( set -x ; /usr/sbin/shim-install --config-file=/boot/grub2/grub.cfg $append 
)
 elif [ -x /usr/sbin/grub2-install ] ; then
-  ( set -x ; /usr/sbin/grub2-install --target="$target" )
+  ( set -x ; /usr/sbin/grub2-install --target="$target" $append )
 else
   echo "grub2-install: command not found"
   exit 1


Reply via email to