Hello community,

here is the log from the commit of package shim for openSUSE:Factory checked in 
at 2015-10-02 09:22:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/shim (Old)
 and      /work/SRC/openSUSE:Factory/.shim.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "shim"

Changes:
--------
--- /work/SRC/openSUSE:Factory/shim/shim.changes        2015-08-21 
07:38:56.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.shim.new/shim.changes   2015-10-02 
09:22:41.000000000 +0200
@@ -1,0 +2,6 @@
+Tue Sep 15 05:03:10 UTC 2015 - mch...@suse.com
+
+- shim-install : set default GRUB_DISTRIBUTOR from /etc/os-release
+  if it is empty or not set by user (bsc#942519)
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ shim.spec ++++++
--- /var/tmp/diff_new_pack.4udk2p/_old  2015-10-02 09:22:42.000000000 +0200
+++ /var/tmp/diff_new_pack.4udk2p/_new  2015-10-02 09:22:42.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package shim
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed

++++++ shim-install ++++++
--- /var/tmp/diff_new_pack.4udk2p/_old  2015-10-02 09:22:42.000000000 +0200
+++ /var/tmp/diff_new_pack.4udk2p/_new  2015-10-02 09:22:42.000000000 +0200
@@ -23,6 +23,11 @@
     . "${sysconfdir}/default/grub"
 fi
 
+if [ x"${GRUB_DISTRIBUTOR}" = x ] && [ -f "${sysconfdir}/os-release" ] ; then
+    . "${sysconfdir}/os-release"
+    GRUB_DISTRIBUTOR="${NAME} ${VERSION}"
+fi
+
 bootloader_id="$(echo "$GRUB_DISTRIBUTOR" | tr 'A-Z' 'a-z' | cut -d' ' -f1)"
 if test -z "$bootloader_id"; then
     bootloader_id=grub


Reply via email to