Hello community,

here is the log from the commit of package shim for openSUSE:Factory checked in 
at 2019-12-02 11:31:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/shim (Old)
 and      /work/SRC/openSUSE:Factory/.shim.new.4691 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "shim"

Mon Dec  2 11:31:28 2019 rev:78 rq:751191 version:15+git47

Changes:
--------
--- /work/SRC/openSUSE:Factory/shim/shim.changes        2019-08-28 
16:00:45.690807001 +0200
+++ /work/SRC/openSUSE:Factory/.shim.new.4691/shim.changes      2019-12-02 
11:36:15.694434422 +0100
@@ -1,0 +2,6 @@
+Wed Nov 27 06:23:11 UTC 2019 - Michael Chang <[email protected]>
+
+- shim-install: add check for btrfs is used as root file system to enable
+  relative path lookup for file. (bsc#1153953) 
+
+-------------------------------------------------------------------

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

Other differences:
------------------


++++++ shim-install ++++++
--- /var/tmp/diff_new_pack.96nMEW/_old  2019-12-02 11:36:17.138434726 +0100
+++ /var/tmp/diff_new_pack.96nMEW/_new  2019-12-02 11:36:17.142434727 +0100
@@ -294,8 +294,13 @@
 grub_cfg_dirname=`dirname $grub_cfg`
 grub_cfg_basename=`basename $grub_cfg`
 cfg_fs_uuid=`"$grub_probe" --target=fs_uuid "$grub_cfg_dirname"`
+# bsc#1153953 - Leap 42.3 boot error snapshot missing
+# We have to check btrfs is used as root file system to enable relative path
+# lookup for file to be on par with other utility which also accounts for it.
+GRUB_FS="$(stat -f --printf=%T / || echo unknown)"
 
-if test "x$SUSE_BTRFS_SNAPSHOT_BOOTING" = "xtrue"; then
+if test "x$SUSE_BTRFS_SNAPSHOT_BOOTING" = "xtrue" &&
+   [ "x${GRUB_FS}" = "xbtrfs" ] ; then
 cat <<EOF
 set btrfs_relative_path="yes"
 EOF



Reply via email to