Hello community,

here is the log from the commit of package transactional-update for 
openSUSE:Factory checked in at 2020-01-10 18:39:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/transactional-update (Old)
 and      /work/SRC/openSUSE:Factory/.transactional-update.new.6675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "transactional-update"

Fri Jan 10 18:39:54 2020 rev:48 rq:761568 version:2.20.1

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/transactional-update/transactional-update.changes    
    2019-12-07 15:21:52.259741410 +0100
+++ 
/work/SRC/openSUSE:Factory/.transactional-update.new.6675/transactional-update.changes
      2020-01-10 18:40:26.783492216 +0100
@@ -1,0 +2,8 @@
+Tue Jan  7 10:52:39 UTC 2020 - Ignaz Forster <ifors...@suse.com>
+
+- Update to version 2.20.1
+  - Add missing documentation about --continue option
+  - Avoid error message about missing fstab file on first snapshot creation.
+    [boo#1160213]
+
+-------------------------------------------------------------------

Old:
----
  transactional-update-2.20.tar.gz

New:
----
  transactional-update-2.20.1.tar.gz

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

Other differences:
------------------
++++++ transactional-update.spec ++++++
--- /var/tmp/diff_new_pack.IWo7Cy/_old  2020-01-10 18:40:27.323492419 +0100
+++ /var/tmp/diff_new_pack.IWo7Cy/_new  2020-01-10 18:40:27.327492420 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package transactional-update
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:           transactional-update
-Version:        2.20
+Version:        2.20.1
 Release:        0
 Summary:        Transactional Updates with btrfs and snapshots
 License:        GPL-2.0-or-later

++++++ transactional-update-2.20.tar.gz -> transactional-update-2.20.1.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/transactional-update-2.20/NEWS 
new/transactional-update-2.20.1/NEWS
--- old/transactional-update-2.20/NEWS  2019-11-28 19:16:20.000000000 +0100
+++ new/transactional-update-2.20.1/NEWS        2020-01-07 11:42:35.000000000 
+0100
@@ -2,6 +2,11 @@
 
 Copyright (C) 2016-2019 Thorsten Kukuk et al.
 
+Version 2.20.1
+* Add missing documentation about --continue option
+* Avoid error message about missing fstab file on first snapshot creation.
+  [boo#1160213]
+
 Version 2.20
 * Add the option `--continue` to extend an existing snapshot; this can be
   used to perform multiple operations before rebooting into the new state
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/transactional-update-2.20/configure.ac 
new/transactional-update-2.20.1/configure.ac
--- old/transactional-update-2.20/configure.ac  2019-11-28 19:16:20.000000000 
+0100
+++ new/transactional-update-2.20.1/configure.ac        2020-01-07 
11:42:35.000000000 +0100
@@ -1,5 +1,5 @@
 dnl Process this file with autoconf to produce a configure script.
-AC_INIT(transactional-update, 2.20)
+AC_INIT(transactional-update, 2.20.1)
 AM_INIT_AUTOMAKE
 AC_CONFIG_SRCDIR([sbin/transactional-update.in])
 AC_PREFIX_DEFAULT(/usr)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/transactional-update-2.20/man/transactional-update.8.xml 
new/transactional-update-2.20.1/man/transactional-update.8.xml
--- old/transactional-update-2.20/man/transactional-update.8.xml        
2019-11-28 19:16:20.000000000 +0100
+++ new/transactional-update-2.20.1/man/transactional-update.8.xml      
2020-01-07 11:42:35.000000000 +0100
@@ -90,6 +90,15 @@
 set as read-only. In case of errors the snapshot will be deleted again.
 </para>
 <para>
+By default the snapshot is always branched off from the current root file
+system, i.e. calling <command>transactional-update</command> multiple times
+without rebooting will create separate, independent snapshots, not containing
+the changes of the previous run. If multiple consecutive actions are to be
+executed, the <option>--continue</option> option can be used. This will still
+create a separate snapshot for each call, so it is possible to roll back to
+previous intermediate steps in case of errors.
+</para>
+<para>
 On <emphasis>read-only systems</emphasis> each snapshot will have a
 corresponding <filename class='directory'>/etc</filename> overlay located in
 <filename class='directory'>/var/lib/overlay</filename>. As configuration files
@@ -397,6 +406,14 @@
     </listitem>
   </varlistentry>
   <varlistentry>
+    <term><option>--continue</option> 
<optional><replaceable>number</replaceable></optional></term>
+    <term><option>-c</option> 
<optional><replaceable>number</replaceable></optional></term>
+    <listitem>
+      <para>Use the given snapshot or, if no number is given, the current
+       default snapshot as a base for the next snapshot.</para>
+    </listitem>
+  </varlistentry>
+  <varlistentry>
     <term><option>--no-selfupdate</option></term>
     <listitem>
       <para>Skip checking for newer transactional-update versions.</para>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/transactional-update-2.20/sbin/transactional-update.in 
new/transactional-update-2.20.1/sbin/transactional-update.in
--- old/transactional-update-2.20/sbin/transactional-update.in  2019-11-28 
19:16:20.000000000 +0100
+++ new/transactional-update-2.20.1/sbin/transactional-update.in        
2020-01-07 11:42:35.000000000 +0100
@@ -1004,7 +1004,9 @@
        # of the files in the snapshot, as the overlay is not yet mounted
        # during early boot - in fact the files are required to be able to
        # mount the overlays
-       cp "${ETC_OVERLAY_DIR_PREV}/fstab" "${SNAPSHOT_DIR}/etc"
+       if [ -e "${ETC_OVERLAY_DIR_PREV}/fstab" ]; then
+           cp "${ETC_OVERLAY_DIR_PREV}/fstab" "${SNAPSHOT_DIR}/etc"
+       fi
        if [ -e "${ETC_OVERLAY_DIR_PREV}/fstab.sys" ]; then
            cp -a "${ETC_OVERLAY_DIR_PREV}/fstab.sys" "${SNAPSHOT_DIR}/etc"
        fi


Reply via email to