Hello community,

here is the log from the commit of package transactional-update for 
openSUSE:Factory checked in at 2019-05-02 19:14:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/transactional-update (Old)
 and      /work/SRC/openSUSE:Factory/.transactional-update.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "transactional-update"

Thu May  2 19:14:53 2019 rev:43 rq:699418 version:2.14.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/transactional-update/transactional-update.changes    
    2019-04-19 18:35:54.858996577 +0200
+++ 
/work/SRC/openSUSE:Factory/.transactional-update.new.5148/transactional-update.changes
      2019-05-02 19:14:55.297104837 +0200
@@ -1,0 +2,7 @@
+Mon Apr 29 12:20:51 UTC 2019 - Ignaz Forster <ifors...@suse.com>
+
+- Update to version 2.14.2
+  - Prevent unnecessary error message on systems not installed with
+    YaST (e.g. KIWI)
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ transactional-update.spec ++++++
--- /var/tmp/diff_new_pack.bIW6Ne/_old  2019-05-02 19:14:55.937106464 +0200
+++ /var/tmp/diff_new_pack.bIW6Ne/_new  2019-05-02 19:14:55.937106464 +0200
@@ -12,12 +12,12 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via https://bugs.opensuse.org/
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
 
 Name:           transactional-update
-Version:        2.14.1
+Version:        2.14.2
 Release:        0
 # test
 Summary:        Transactional Updates with btrfs and snapshots

++++++ transactional-update-2.14.1.tar.gz -> transactional-update-2.14.2.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/transactional-update-2.14.1/NEWS 
new/transactional-update-2.14.2/NEWS
--- old/transactional-update-2.14.1/NEWS        2019-03-25 18:55:33.000000000 
+0100
+++ new/transactional-update-2.14.2/NEWS        2019-04-29 14:15:30.000000000 
+0200
@@ -2,6 +2,10 @@
 
 Copyright (C) 2016-2019 Thorsten Kukuk et al.
 
+Version 2.14.2
+* Prevent unnecessary error message on systems not installed with YaST (e.g.
+  KIWI)
+
 Version 2.14.1
 * Improve non-root fs changes checker based on feedback
 * Disable snapper's zypper plugin during transactional-update run
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/transactional-update-2.14.1/configure.ac 
new/transactional-update-2.14.2/configure.ac
--- old/transactional-update-2.14.1/configure.ac        2019-03-25 
18:55:33.000000000 +0100
+++ new/transactional-update-2.14.2/configure.ac        2019-04-29 
14:15:30.000000000 +0200
@@ -1,5 +1,5 @@
 dnl Process this file with autoconf to produce a configure script.
-AC_INIT(transactional-update, 2.14.1)
+AC_INIT(transactional-update, 2.14.2)
 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.14.1/sbin/transactional-update.in 
new/transactional-update-2.14.2/sbin/transactional-update.in
--- old/transactional-update-2.14.1/sbin/transactional-update.in        
2019-03-25 18:55:33.000000000 +0100
+++ new/transactional-update-2.14.2/sbin/transactional-update.in        
2019-04-29 14:15:30.000000000 +0200
@@ -497,9 +497,11 @@
 sync_etc() {
     log_info "Syncing /etc of oldest snapshot $1 as base into new snapshot $2"
     get_etc_overlay_from "$1"
-    fstab_lowerdirs=("${fstab_lowerdirs[@]///sysroot\/var//var}")
     mount_opts="defaults,"
     mount_opts+="lowerdir=${fstab_upper#/sysroot}:"
+    # Replace all /sysroot prefixes; for /var it can simply be removed, the
+    # remaining root file system has to be replaced with the oldest snapshot
+    fstab_lowerdirs=("${fstab_lowerdirs[@]///sysroot\/var//var}")
     mount_opts+="`echo ${fstab_lowerdirs[@]///sysroot/$1} | tr ' ' ':'`"
     mount -t overlay overlay "${ETC_OVERLAY_DIR}" -o ${mount_opts}
     if [ $? -ne 0 ]; then
@@ -1097,8 +1099,10 @@
     # will delete again later.
     if [ ${HAS_SEPARATE_VAR} -eq 1 ]; then
        mkdir ${SNAPSHOT_DIR}/var/tmp
-       mkdir -p ${SNAPSHOT_DIR}/var/lib/zypp
-       cp /var/lib/zypp/RequestedLocales ${SNAPSHOT_DIR}/var/lib/zypp/
+       if [ -f /var/lib/zypp/RequestedLocales ]; then
+           mkdir -p ${SNAPSHOT_DIR}/var/lib/zypp
+           cp /var/lib/zypp/RequestedLocales ${SNAPSHOT_DIR}/var/lib/zypp/
+       fi
     fi
 
     # Check if we have /var/lib/rpm, otherwise zypper will


Reply via email to