Hello community,

here is the log from the commit of package rollback-helper for openSUSE:Factory 
checked in at 2019-01-11 14:06:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/rollback-helper (Old)
 and      /work/SRC/openSUSE:Factory/.rollback-helper.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "rollback-helper"

Fri Jan 11 14:06:11 2019 rev:7 rq:664553 version:1.0+git20181218.5394d6e

Changes:
--------
--- /work/SRC/openSUSE:Factory/rollback-helper/rollback-helper.changes  
2018-11-22 13:26:47.917920187 +0100
+++ 
/work/SRC/openSUSE:Factory/.rollback-helper.new.28833/rollback-helper.changes   
    2019-01-11 14:06:58.771710070 +0100
@@ -1,0 +2,6 @@
+Tue Dec 18 14:29:03 UTC 2018 - [email protected]
+
+- Update to version 1.0+git20181218.5394d6e:
+  * Add handling for separate /var subvolumes [bsc#1115555]
+
+-------------------------------------------------------------------

Old:
----
  rollback-helper-1.0+git20181112.65db4d0.tar.xz

New:
----
  rollback-helper-1.0+git20181218.5394d6e.tar.xz

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

Other differences:
------------------
++++++ rollback-helper.spec ++++++
--- /var/tmp/diff_new_pack.q3qlAI/_old  2019-01-11 14:06:59.291709547 +0100
+++ /var/tmp/diff_new_pack.q3qlAI/_new  2019-01-11 14:06:59.295709543 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           rollback-helper
-Version:        1.0+git20181112.65db4d0
+Version:        1.0+git20181218.5394d6e
 Release:        0
 Summary:        Helper Scripts for system rollback
 License:        GPL-2.0-or-later

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.q3qlAI/_old  2019-01-11 14:06:59.339709498 +0100
+++ /var/tmp/diff_new_pack.q3qlAI/_new  2019-01-11 14:06:59.339709498 +0100
@@ -1,6 +1,6 @@
 <servicedata>
   <service name="tar_scm">
     <param name="url">git://github.com/openSUSE/rollback-helper.git</param>
-    <param 
name="changesrevision">36bce84a6755f4cab94d27aff4085fa75b6bf89d</param>
+    <param 
name="changesrevision">a885e163ddcf545ad418751f007305625bdfc192</param>
  </service>
 </servicedata>
\ No newline at end of file

++++++ rollback-helper-1.0+git20181112.65db4d0.tar.xz -> 
rollback-helper-1.0+git20181218.5394d6e.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/rollback-helper-1.0+git20181112.65db4d0/plugins/rollback 
new/rollback-helper-1.0+git20181218.5394d6e/plugins/rollback
--- old/rollback-helper-1.0+git20181112.65db4d0/plugins/rollback        
2018-11-12 14:15:38.000000000 +0100
+++ new/rollback-helper-1.0+git20181218.5394d6e/plugins/rollback        
2018-12-18 11:59:32.000000000 +0100
@@ -12,5 +12,11 @@
 OLD=$1
 NEW=$2
 
-test -d $NEW/$VARDIR || mkdir -p $NEW/$VARDIR/
-touch $NEW/$VARDIR/check-registration
+# Write flag file into VARDIR; if this directory is part of the root file
+# system (e.g. when using an old subvolume layout) then write to the *new*
+# snapshot directory, otherwise the file won't be visible to the new snapshot.
+if [ "$(findmnt --noheadings --output TARGET --target "${VARDIR}")" = "/" ]; 
then
+  VARDIR="${NEW}/${VARDIR}"
+fi
+test -d "${VARDIR}" || mkdir -p "${VARDIR}/"
+touch "${VARDIR}/check-registration"


Reply via email to