Hello community,

here is the log from the commit of package transactional-update for 
openSUSE:Factory checked in at 2019-09-27 14:45:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/transactional-update (Old)
 and      /work/SRC/openSUSE:Factory/.transactional-update.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "transactional-update"

Fri Sep 27 14:45:00 2019 rev:46 rq:733187 version:2.17

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/transactional-update/transactional-update.changes    
    2019-09-23 12:00:55.357969643 +0200
+++ 
/work/SRC/openSUSE:Factory/.transactional-update.new.2352/transactional-update.changes
      2019-09-27 14:45:23.017242935 +0200
@@ -1,0 +2,9 @@
+Wed Sep 25 15:13:35 UTC 2019 - Ignaz Forster <[email protected]>
+
+- Update to version 2.17
+  - Provide network in shell on systems where resolv.conf is pointing to /run
+    directly [boo#1151081]
+  - Print new snapshot number at the end
+  - Always mount /root subvolume when using shell command to preserve history
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ transactional-update.spec ++++++
--- /var/tmp/diff_new_pack.deekZc/_old  2019-09-27 14:45:23.773240970 +0200
+++ /var/tmp/diff_new_pack.deekZc/_new  2019-09-27 14:45:23.777240959 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           transactional-update
-Version:        2.16
+Version:        2.17
 Release:        0
 Summary:        Transactional Updates with btrfs and snapshots
 License:        GPL-2.0-or-later

++++++ transactional-update-2.16.tar.gz -> transactional-update-2.17.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/transactional-update-2.16/NEWS 
new/transactional-update-2.17/NEWS
--- old/transactional-update-2.16/NEWS  2019-09-12 14:56:59.000000000 +0200
+++ new/transactional-update-2.17/NEWS  2019-09-25 17:08:33.000000000 +0200
@@ -2,6 +2,12 @@
 
 Copyright (C) 2016-2019 Thorsten Kukuk et al.
 
+Version 2.17
+* Provide network in shell on systems where resolv.conf is pointing to /run
+  directly [boo#1151081]
+* Print new snapshot number at the end
+* Always mount /root subvolume when using shell command to preserve history
+
 Version 2.16
 * Use default command if options, but no command was given [boo#1146116]
 * Make sure only one process appears in `ps` output [boo#1111897]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/transactional-update-2.16/configure.ac 
new/transactional-update-2.17/configure.ac
--- old/transactional-update-2.16/configure.ac  2019-09-12 14:56:59.000000000 
+0200
+++ new/transactional-update-2.17/configure.ac  2019-09-25 17:08:33.000000000 
+0200
@@ -1,5 +1,5 @@
 dnl Process this file with autoconf to produce a configure script.
-AC_INIT(transactional-update, 2.16)
+AC_INIT(transactional-update, 2.17)
 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.16/sbin/transactional-update.in 
new/transactional-update-2.17/sbin/transactional-update.in
--- old/transactional-update-2.16/sbin/transactional-update.in  2019-09-12 
14:56:59.000000000 +0200
+++ new/transactional-update-2.17/sbin/transactional-update.in  2019-09-25 
17:08:33.000000000 +0200
@@ -1020,13 +1020,11 @@
         rm -f ${SNAPSHOT_DIR}/var/update_snapshot.test
     fi
 
-    if [ ${RO_ROOT} == "true" ]; then
-       if [ ${RUN_SHELL} -eq 1 ]; then
-           DIR_TO_MOUNT="${DIR_TO_MOUNT} root"
-       fi
-       if [ -d /boot/writable ]; then
-           DIR_TO_MOUNT="${DIR_TO_MOUNT} /boot/writable"
-       fi
+    if [ ${RUN_SHELL} -eq 1 ]; then
+       DIR_TO_MOUNT="${DIR_TO_MOUNT} root"
+    fi
+    if [ -d /boot/writable ]; then
+       DIR_TO_MOUNT="${DIR_TO_MOUNT} /boot/writable"
     fi
 
     # Check which directories in /boot/grub2 need to be mounted,
@@ -1099,10 +1097,13 @@
     fi
 
     # Copy network configuration into chroot
-    if [ -e /var/run/netconfig -a ${HAS_SEPARATE_VAR} -eq 1 ]; then
-       rm -rf ${SNAPSHOT_DIR}/var/run
-       mkdir -p ${SNAPSHOT_DIR}/var/run
-       cp -r /var/run/netconfig ${SNAPSHOT_DIR}/var/run/
+    # The links in /etc may either point to /var/run or /run, and the root file
+    # system snapshot may already contain the /var/run -> /run link or not.
+    if [ -e /run/netconfig ]; then
+       if [ ${HAS_SEPARATE_VAR} -eq 1 ]; then
+           ln -sf /run ${SNAPSHOT_DIR}/var/run
+       fi
+       cp -r /run/netconfig ${SNAPSHOT_DIR}/run/
     fi
 
     # Do we need to cleanup the /var/cache directory?
@@ -1292,16 +1293,18 @@
            log_info "Warning: The following files were changed in the 
snapshot, but are shadowed by"
            log_info "other mounts and will not be visible to the system:"
            log_info "${filelist}"
-           log_info
        fi
     fi
 
     if [ ${EXITCODE} -ne 0 ]; then
        quit ${EXITCODE}
     elif [ $REBOOT_AFTERWARDS -eq 0 ]; then
+       echo
        echo "Please reboot your machine to activate the changes and avoid data 
loss."
        touch "${NEEDS_RESTARTING_FILE}"
     fi
+
+    log_info "New default snapshot is #${SNAPSHOT_ID} (${SNAPSHOT_DIR})."
 fi
 
 if [ ${EXITCODE} -eq 0 ]; then


Reply via email to