Hello community,

here is the log from the commit of package perl-Bootloader for openSUSE:Factory 
checked in at 2016-10-20 23:06:04
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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-07-28 23:44:10.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes     
2016-10-20 23:06:07.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Oct 18 13:38:20 UTC 2016 - [email protected]
+
+- run shim-install only if secure boot is set to yes (bsc#985567)
+- 0.916
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ perl-Bootloader.spec ++++++
--- /var/tmp/diff_new_pack.9bHRWp/_old  2016-10-20 23:06:08.000000000 +0200
+++ /var/tmp/diff_new_pack.9bHRWp/_new  2016-10-20 23:06:08.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           perl-Bootloader
-Version:        0.915
+Version:        0.916
 Release:        0
 Requires:       coreutils
 Requires:       perl-base = %{perl_version}

++++++ perl-Bootloader-0.915.tar.xz -> perl-Bootloader-0.916.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/perl-Bootloader-0.915/VERSION 
new/perl-Bootloader-0.916/VERSION
--- old/perl-Bootloader-0.915/VERSION   2016-07-22 16:49:01.000000000 +0200
+++ new/perl-Bootloader-0.916/VERSION   2016-10-18 15:35:31.000000000 +0200
@@ -1 +1 @@
-0.915
+0.916
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/perl-Bootloader-0.915/changelog 
new/perl-Bootloader-0.916/changelog
--- old/perl-Bootloader-0.915/changelog 2016-07-22 16:49:01.000000000 +0200
+++ new/perl-Bootloader-0.916/changelog 2016-10-18 15:35:31.000000000 +0200
@@ -1,3 +1,6 @@
+2016-10-18:    0.916
+       - run shim-install only if secure boot is set to yes (bsc #985567)
+
 2016-07-22:    0.915
        - also clear LC_ALL when setting locale
        - run grub in RC_LANG locale taken from sysconfig (bsc #985946)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/perl-Bootloader-0.915/grub2-efi/install 
new/perl-Bootloader-0.916/grub2-efi/install
--- old/perl-Bootloader-0.915/grub2-efi/install 2016-07-22 16:49:01.000000000 
+0200
+++ new/perl-Bootloader-0.916/grub2-efi/install 2016-10-18 15:35:31.000000000 
+0200
@@ -52,12 +52,16 @@
        append="--no-nvram --removable"
 fi
 
-if [ -x /usr/sbin/shim-install ] ; then
-  ( set -x ; /usr/sbin/shim-install --config-file=/boot/grub2/grub.cfg $append 
)
+if [ "$SYS__BOOTLOADER__SECURE_BOOT" = "yes" ] ; then
+  if [ -x /usr/sbin/shim-install ] ; then
+    ( set -x ; /usr/sbin/shim-install --config-file=/boot/grub2/grub.cfg 
$append )
+  else
+    echo "shim-install: command not found"
+    exit 1
+  fi
 elif [ -x /usr/sbin/grub2-install ] ; then
   ( set -x ; /usr/sbin/grub2-install --target="$target" $append )
 else
   echo "grub2-install: command not found"
   exit 1
 fi
-


Reply via email to