Hello community,
here is the log from the commit of package transactional-update for openSUSE:Factory checked in at 2017-06-28 10:36:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/transactional-update (Old)
and /work/SRC/openSUSE:Factory/.transactional-update.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "transactional-update"
Wed Jun 28 10:36:35 2017 rev:10 rq:506385 version:1.17
Changes:
--------
--- /work/SRC/openSUSE:Factory/transactional-update/transactional-update.changes 2017-06-02 10:34:14.352216849 +0200
+++ /work/SRC/openSUSE:Factory/.transactional-update.new/transactional-update.changes 2017-06-28 10:36:38.332385131 +0200
@@ -1,0 +2,12 @@
+Tue Jun 27 09:12:58 CEST 2017 - kukuk(a)suse.de
+
+- Update to version 1.17
+ - copy modified bootloader config into snapshot
+
+-------------------------------------------------------------------
+Mon Jun 26 14:21:38 CEST 2017 - kukuk(a)suse.de
+
+- Update to version 1.16
+ - [bsc#1045942]
+
+-------------------------------------------------------------------
Old:
----
transactional-update-1.15.tar.bz2
New:
----
transactional-update-1.17.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ transactional-update.spec ++++++
--- /var/tmp/diff_new_pack.LNSLSu/_old 2017-06-28 10:36:38.748326287 +0200
+++ /var/tmp/diff_new_pack.LNSLSu/_new 2017-06-28 10:36:38.748326287 +0200
@@ -17,7 +17,7 @@
Name: transactional-update
-Version: 1.15
+Version: 1.17
Release: 0
Summary: Transactional Updates with btrfs and snapshots
License: GPL-2.0+
++++++ transactional-update-1.15.tar.bz2 -> transactional-update-1.17.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.15/NEWS new/transactional-update-1.17/NEWS
--- old/transactional-update-1.15/NEWS 2017-06-01 15:54:28.000000000 +0200
+++ new/transactional-update-1.17/NEWS 2017-06-27 09:11:33.000000000 +0200
@@ -2,6 +2,13 @@
Copyright (C) 2016, 2017 Thorsten Kukuk
+Version 1.17
+* Copy some modified config files for bootloader into the snapshot
+
+Version 1.16
+* Set environment variable that transactional update is running
+* Some updates to the systemd units
+
Version 1.15
* Add support to ceate salt grains with current status
* Rename ptf to pkg
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.15/configure new/transactional-update-1.17/configure
--- old/transactional-update-1.15/configure 2017-06-01 15:54:36.000000000 +0200
+++ new/transactional-update-1.17/configure 2017-06-27 09:12:39.000000000 +0200
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for transactional-update 1.15.
+# Generated by GNU Autoconf 2.69 for transactional-update 1.17.
#
#
# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -576,8 +576,8 @@
# Identity of this package.
PACKAGE_NAME='transactional-update'
PACKAGE_TARNAME='transactional-update'
-PACKAGE_VERSION='1.15'
-PACKAGE_STRING='transactional-update 1.15'
+PACKAGE_VERSION='1.17'
+PACKAGE_STRING='transactional-update 1.17'
PACKAGE_BUGREPORT=''
PACKAGE_URL=''
@@ -1211,7 +1211,7 @@
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures transactional-update 1.15 to adapt to many kinds of systems.
+\`configure' configures transactional-update 1.17 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -1278,7 +1278,7 @@
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of transactional-update 1.15:";;
+ short | recursive ) echo "Configuration of transactional-update 1.17:";;
esac
cat <<\_ACEOF
@@ -1358,7 +1358,7 @@
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-transactional-update configure 1.15
+transactional-update configure 1.17
generated by GNU Autoconf 2.69
Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1375,7 +1375,7 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by transactional-update $as_me 1.15, which was
+It was created by transactional-update $as_me 1.17, which was
generated by GNU Autoconf 2.69. Invocation command line was
$ $0 $@
@@ -2238,7 +2238,7 @@
# Define the identity of the package.
PACKAGE='transactional-update'
- VERSION='1.15'
+ VERSION='1.17'
cat >>confdefs.h <<_ACEOF
@@ -3097,7 +3097,7 @@
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by transactional-update $as_me 1.15, which was
+This file was extended by transactional-update $as_me 1.17, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@@ -3150,7 +3150,7 @@
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-transactional-update config.status 1.15
+transactional-update config.status 1.17
configured by $0, generated by GNU Autoconf 2.69,
with options \\"\$ac_cs_config\\"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.15/configure.ac new/transactional-update-1.17/configure.ac
--- old/transactional-update-1.15/configure.ac 2017-06-01 15:53:57.000000000 +0200
+++ new/transactional-update-1.17/configure.ac 2017-06-27 09:12:34.000000000 +0200
@@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
-AC_INIT(transactional-update, 1.15)
+AC_INIT(transactional-update, 1.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-1.15/sbin/transactional-update.in new/transactional-update-1.17/sbin/transactional-update.in
--- old/transactional-update-1.15/sbin/transactional-update.in 2017-06-01 10:40:50.000000000 +0200
+++ new/transactional-update-1.17/sbin/transactional-update.in 2017-06-27 09:00:19.000000000 +0200
@@ -39,6 +39,9 @@
SNAPSHOT_ID=""
SECOND_SNAPSHOT_ID=""
KDUMP_SYSCONFIG="/etc/sysconfig/kdump"
+# Config files, which the user could have modified and which should
+# be copied to the snapshot.
+CONFIG_FILES_TO_COPY="/etc/default/grub"
usage() {
echo "Usage: transactional-update --help|--version"
@@ -462,6 +465,17 @@
MOUNT_DIR=`mktemp -d`
mount -o rbind ${SNAPSHOT_DIR} ${MOUNT_DIR}
+ # for RPM pre/post sections to detect, that we run in a
+ # transactional update
+ export TRANSACTIONAL_UPDATE=true
+
+ # Copy modified config files to the snapshot
+ for CF in ${CONFIG_FILES_TO_COPY} ; do
+ if [ ${CF} -nt ${MOUNT_DIR}/${CF} ]; then
+ cp -a ${CF} ${MOUNT_DIR}/${CF}
+ fi
+ done
+
if [ -n "${ZYPPER_ARG}" ]; then
log_info "Calling zypper ${ZYPPER_ARG}"
if [ -n ${ZYPPER_NONINTERACTIVE} ]; then
@@ -504,6 +518,9 @@
fi
fi
+ # unset variable
+ unset TRANSACTIONAL_UPDATE
+
# Unmount everything we don't need anymore:
for directory in proc sys $DIR_TO_MOUNT ; do
umount -R ${SNAPSHOT_DIR}/$directory
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.15/systemd/transactional-update.timer new/transactional-update-1.17/systemd/transactional-update.timer
--- old/transactional-update-1.15/systemd/transactional-update.timer 2016-11-14 13:15:53.000000000 +0100
+++ new/transactional-update-1.17/systemd/transactional-update.timer 2017-06-27 09:03:16.000000000 +0200
@@ -1,10 +1,12 @@
[Unit]
Description=Daily update of the system
Documentation=man:transactional-update(8)
+After=network.target local-fs.target
[Timer]
OnCalendar=daily
-AccuracySec=12h
+AccuracySec=1m
+RandomizedDelaySec=2h
Persistent=true
[Install]