Hello community,

here is the log from the commit of package perl-Bootloader for openSUSE:Factory 
checked in at 2016-05-03 09:34:02
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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-04-03 23:06:43.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perl-Bootloader.new/perl-Bootloader.changes     
2016-05-03 09:34:03.000000000 +0200
@@ -1,0 +2,6 @@
+Thu Apr 21 14:22:20 UTC 2016 - snw...@suse.com
+
+- we don't need grub_installdevice on s390x (bsc#976466)
+- 0.912
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ perl-Bootloader.spec ++++++
--- /var/tmp/diff_new_pack.AL4GZm/_old  2016-05-03 09:34:04.000000000 +0200
+++ /var/tmp/diff_new_pack.AL4GZm/_new  2016-05-03 09:34:04.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           perl-Bootloader
-Version:        0.911
+Version:        0.912
 Release:        0
 Requires:       coreutils
 Requires:       perl-base = %{perl_version}

++++++ perl-Bootloader-0.911.tar.xz -> perl-Bootloader-0.912.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/perl-Bootloader-0.911/VERSION 
new/perl-Bootloader-0.912/VERSION
--- old/perl-Bootloader-0.911/VERSION   2016-03-31 12:03:11.000000000 +0200
+++ new/perl-Bootloader-0.912/VERSION   2016-04-21 16:17:36.000000000 +0200
@@ -1 +1 @@
-0.911
+0.912
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/perl-Bootloader-0.911/changelog 
new/perl-Bootloader-0.912/changelog
--- old/perl-Bootloader-0.911/changelog 2016-03-31 12:03:11.000000000 +0200
+++ new/perl-Bootloader-0.912/changelog 2016-04-21 16:17:36.000000000 +0200
@@ -1,3 +1,6 @@
+2016-04-21:    0.912
+       - we don't need grub_installdevice on s390x (bsc #976466)
+
 2016-03-31:    0.911
        - Revert "Set GRUB_GFXPAYLOAD based on gfxterm"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/perl-Bootloader-0.911/grub2/install 
new/perl-Bootloader-0.912/grub2/install
--- old/perl-Bootloader-0.911/grub2/install     2016-03-31 12:03:11.000000000 
+0200
+++ new/perl-Bootloader-0.912/grub2/install     2016-04-21 16:17:36.000000000 
+0200
@@ -8,8 +8,8 @@
 fi
 
 case "$target" in
-  i?86 | x86_64 ) target=i386-pc ;;
-  ppc | ppc64* ) target=powerpc-ieee1275 ;;
+  i?86 | x86_64 ) target=i386-pc needs_installdevice=1 ;;
+  ppc | ppc64* ) target=powerpc-ieee1275 needs_installdevice=1 ;;
   s390x ) target=s390x-emu ;;
 esac
 
@@ -21,20 +21,24 @@
 err=0
 
 if [ -x /usr/sbin/grub2-install ] ; then
-  if [ -r /etc/default/grub_installdevice ] ; then
-    while read foo ; do
-      # ignore everything that doesn't look like a path
-      [ "${foo::1}" != "/" ] && continue
-      if [ -b "$foo" -o -f "$foo" ] ; then
-        ( set -x ; /usr/sbin/grub2-install --target="$target" --force 
--skip-fs-probe "$foo" ) || err=1
-      else
-        echo "$foo: not a block device"
-        err=1
-      fi
-    done </etc/default/grub_installdevice
+  if [ "$needs_installdevice" = 1 ] ; then
+    if [ -r /etc/default/grub_installdevice ] ; then
+      while read device ; do
+        # ignore everything that doesn't look like a path
+        [ "${device::1}" != "/" ] && continue
+        if [ -b "$device" -o -f "$device" ] ; then
+          ( set -x ; /usr/sbin/grub2-install --target="$target" --force 
--skip-fs-probe "$device" ) || err=1
+        else
+          echo "$device: not a block device"
+          err=1
+        fi
+      done </etc/default/grub_installdevice
+    else
+      echo "/etc/default/grub_installdevice: permission denied"
+      err=1
+    fi
   else
-    echo "/etc/default/grub_installdevice: permission denied"
-    err=1
+    ( set -x ; /usr/sbin/grub2-install --target="$target" )
   fi
 else
   echo "grub2-install: command not found"


Reply via email to