Hello community,
here is the log from the commit of package grub2 for openSUSE:Factory checked in at 2015-07-21 13:25:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/grub2 (Old)
and /work/SRC/openSUSE:Factory/.grub2.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "grub2"
Changes:
--------
--- /work/SRC/openSUSE:Factory/grub2/grub2.changes 2015-07-05 17:51:04.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.grub2.new/grub2.changes 2015-07-21 13:25:38.000000000 +0200
@@ -1,0 +2,6 @@
+Fri Jul 17 08:44:24 UTC 2015 - mchang@suse.com
+
+- Replace 12.1 with 12 SP1 for the list of snapshots (bsc#934252)
+ * modified grub2-snapper-plugin.sh
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ grub2-snapper-plugin.sh ++++++
--- /var/tmp/diff_new_pack.bx9SAy/_old 2015-07-21 13:25:40.000000000 +0200
+++ /var/tmp/diff_new_pack.bx9SAy/_new 2015-07-21 13:25:40.000000000 +0200
@@ -62,6 +62,10 @@
kernel_ver=`readlink ${snapshot}/boot/image | sed -e 's/^image-//' -e 's/-default$//'`
fi
eval `cat ${snapshot}/etc/os-release`
+ # bsc#934252 - Replace SLES 12.1 with SLES12-SP1 for the list of snapshots
+ if test "${NAME}" = "SLES" -o "${NAME}" = "SLED"; then
+ VERSION=`echo ${VERSION} | sed -e 's!^\([0-9]\{1,\}\)\.\([0-9]\{1,\}\)$!\1-SP\2!'`
+ fi
# FATE#318101
# Show user defined comments in grub2 menu for snapshots
@@ -85,7 +89,12 @@
test "$stype" = "single" && stype=""
test -z "$stype" || stype=",$stype"
test -z "$desc" || desc=",$desc"
- title="${important}${NAME} $VERSION ($kernel_ver,$date$stype$desc)"
+
+ if test "${NAME}" = "SLES" -o "${NAME}" = "SLED"; then
+ title="${important}${NAME}${VERSION} ($kernel_ver,$date$stype$desc)"
+ else
+ title="${important}${NAME} ${VERSION} ($kernel_ver,$date$stype$desc)"
+ fi
cat <