Hello community,
here is the log from the commit of package transactional-update for openSUSE:Factory checked in at 2017-02-08 11:04:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/transactional-update (Old)
and /work/SRC/openSUSE:Factory/.transactional-update.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "transactional-update"
Changes:
--------
--- /work/SRC/openSUSE:Factory/transactional-update/transactional-update.changes 2017-02-03 20:03:50.904994713 +0100
+++ /work/SRC/openSUSE:Factory/.transactional-update.new/transactional-update.changes 2017-02-08 11:04:39.436825582 +0100
@@ -1,0 +2,13 @@
+Tue Feb 7 08:04:50 CET 2017 - kukuk@suse.de
+
+- Release version 1.9
+ - fix umounting of special filesystems and subvolumes
+ - fix interactive installation of PTFs [bsc#1023026]
+ - fix dependencies of systemd service
+
+-------------------------------------------------------------------
+Wed Feb 1 17:51:32 CET 2017 - kukuk@suse.de
+
+- Add Requires for lsof and fuser
+
+-------------------------------------------------------------------
Old:
----
transactional-update-1.8.tar.bz2
New:
----
transactional-update-1.9.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ transactional-update.spec ++++++
--- /var/tmp/diff_new_pack.qUXzB6/_old 2017-02-08 11:04:39.776778187 +0100
+++ /var/tmp/diff_new_pack.qUXzB6/_new 2017-02-08 11:04:39.776778187 +0100
@@ -17,7 +17,7 @@
Name: transactional-update
-Version: 1.8
+Version: 1.9
Release: 0
Summary: Transactional Updates with btrfs and snapshots
License: GPL-2.0+
@@ -25,6 +25,9 @@
Url: https://github.com/thkukuk/transactional-update
Source: %{name}-%{version}.tar.bz2
Requires: logrotate
+Requires: lsof
+# psmisc is needed because of fuser
+Requires: psmisc
Recommends: rebootmgr
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
++++++ transactional-update-1.8.tar.bz2 -> transactional-update-1.9.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.8/NEWS new/transactional-update-1.9/NEWS
--- old/transactional-update-1.8/NEWS 2017-02-01 14:49:14.000000000 +0100
+++ new/transactional-update-1.9/NEWS 2017-02-06 15:45:37.000000000 +0100
@@ -2,6 +2,10 @@
Copyright (C) 2016, 2017 Thorsten Kukuk
+Version 1.9
+* Fix umounting of /sys
+* Update documentation
+
Version 1.8
* Fix references in html pages
* Build kdump initrd when building standard initrd, too
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.8/configure new/transactional-update-1.9/configure
--- old/transactional-update-1.8/configure 2017-02-01 14:49:19.000000000 +0100
+++ new/transactional-update-1.9/configure 2017-02-06 15:45:43.000000000 +0100
@@ -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.8.
+# Generated by GNU Autoconf 2.69 for transactional-update 1.9.
#
#
# 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.8'
-PACKAGE_STRING='transactional-update 1.8'
+PACKAGE_VERSION='1.9'
+PACKAGE_STRING='transactional-update 1.9'
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.8 to adapt to many kinds of systems.
+\`configure' configures transactional-update 1.9 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.8:";;
+ short | recursive ) echo "Configuration of transactional-update 1.9:";;
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.8
+transactional-update configure 1.9
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.8, which was
+It was created by transactional-update $as_me 1.9, 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.8'
+ VERSION='1.9'
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.8, which was
+This file was extended by transactional-update $as_me 1.9, 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.8
+transactional-update config.status 1.9
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.8/configure.ac new/transactional-update-1.9/configure.ac
--- old/transactional-update-1.8/configure.ac 2017-02-01 14:45:54.000000000 +0100
+++ new/transactional-update-1.9/configure.ac 2017-02-06 15:44:46.000000000 +0100
@@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
-AC_INIT(transactional-update, 1.8)
+AC_INIT(transactional-update, 1.9)
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.8/man/Makefile.am new/transactional-update-1.9/man/Makefile.am
--- old/transactional-update-1.8/man/Makefile.am 2017-01-30 09:57:04.000000000 +0100
+++ new/transactional-update-1.9/man/Makefile.am 2017-02-06 14:46:40.000000000 +0100
@@ -22,13 +22,14 @@
--xinclude \
--stringparam man.authors.section.enabled 0 \
--stringparam man.copyright.section.enabled 0 \
- --stringparam transactional-update.version $(VERSION) \
+ --stringparam package.name $(PACKAGE) \
+ --stringparam package.version $(VERSION) \
--stringparam chunker.output.encoding UTF-8 \
$(srcdir)/custom-html.xsl
if ENABLE_REGENERATE_MAN
-define html-alias
+define html_alias
$(LN_S) -f $(notdir $<) $@
endef
@@ -42,10 +43,10 @@
$(XSLTPROC) -o $(srcdir)/$@ --path $(srcdir) $(XSLTPROC_FLAGS_HTML) $<
transactional-update.service.8.html: transactional-update.8.html
- $(html-alias)
+ $(html_alias)
transactional-update.timer.8.html: transactional-update.8.html
- $(html-alias)
+ $(html_alias)
transactional-update.index.html: transactional-update.index.xml custom-html.xsl
$(XSLTPROC) -o $(srcdir)/$@ --path $(srcdir) $(XSLTPROC_FLAGS_HTML) $<
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.8/man/Makefile.in new/transactional-update-1.9/man/Makefile.in
--- old/transactional-update-1.8/man/Makefile.in 2017-02-01 14:49:19.000000000 +0100
+++ new/transactional-update-1.9/man/Makefile.in 2017-02-06 15:45:43.000000000 +0100
@@ -244,7 +244,8 @@
--xinclude \
--stringparam man.authors.section.enabled 0 \
--stringparam man.copyright.section.enabled 0 \
- --stringparam transactional-update.version $(VERSION) \
+ --stringparam package.name $(PACKAGE) \
+ --stringparam package.version $(VERSION) \
--stringparam chunker.output.encoding UTF-8 \
$(srcdir)/custom-html.xsl
@@ -482,7 +483,7 @@
uninstall-man8
-@ENABLE_REGENERATE_MAN_TRUE@define html-alias
+@ENABLE_REGENERATE_MAN_TRUE@define html_alias
@ENABLE_REGENERATE_MAN_TRUE@ $(LN_S) -f $(notdir $<) $@
@ENABLE_REGENERATE_MAN_TRUE@endef
@@ -496,10 +497,10 @@
@ENABLE_REGENERATE_MAN_TRUE@ $(XSLTPROC) -o $(srcdir)/$@ --path $(srcdir) $(XSLTPROC_FLAGS_HTML) $<
@ENABLE_REGENERATE_MAN_TRUE@transactional-update.service.8.html: transactional-update.8.html
-@ENABLE_REGENERATE_MAN_TRUE@ $(html-alias)
+@ENABLE_REGENERATE_MAN_TRUE@ $(html_alias)
@ENABLE_REGENERATE_MAN_TRUE@transactional-update.timer.8.html: transactional-update.8.html
-@ENABLE_REGENERATE_MAN_TRUE@ $(html-alias)
+@ENABLE_REGENERATE_MAN_TRUE@ $(html_alias)
@ENABLE_REGENERATE_MAN_TRUE@transactional-update.index.html: transactional-update.index.xml custom-html.xsl
@ENABLE_REGENERATE_MAN_TRUE@ $(XSLTPROC) -o $(srcdir)/$@ --path $(srcdir) $(XSLTPROC_FLAGS_HTML) $<
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.8/man/custom-html.xsl new/transactional-update-1.9/man/custom-html.xsl
--- old/transactional-update-1.8/man/custom-html.xsl 2017-01-30 09:49:02.000000000 +0100
+++ new/transactional-update-1.9/man/custom-html.xsl 2017-02-06 14:46:40.000000000 +0100
@@ -229,14 +229,16 @@
<a>
- transactional-update.index.html
+
+ .index.html
Index
</a>
<span style="float:right">
- xsl:texttransactional-update
-
+
+ xsl:text
+
</span>
<hr/>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.8/man/transactional-update.8 new/transactional-update-1.9/man/transactional-update.8
--- old/transactional-update-1.8/man/transactional-update.8 2017-01-30 10:21:16.000000000 +0100
+++ new/transactional-update-1.9/man/transactional-update.8 2017-02-05 11:35:16.000000000 +0100
@@ -2,12 +2,12 @@
.\" Title: transactional-update
.\" Author: Thorsten Kukuk
.\" Generator: DocBook XSL Stylesheets v1.78.1 http://docbook.sf.net/
-.\" Date: 01/30/2017
+.\" Date: 02/05/2017
.\" Manual: transactional-update
.\" Source: transactional-update
.\" Language: English
.\"
-.TH "TRANSACTIONAL\-UPDAT" "8" "01/30/2017" "transactional-update" "transactional-update"
+.TH "TRANSACTIONAL\-UPDAT" "8" "02/05/2017" "transactional-update" "transactional-update"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -30,10 +30,12 @@
.SH "NAME"
transactional-update, transactional-update.service, transactional-update.timer \- Apply updates to the system in an atomic way via transactional updates\&.
.SH "SYNOPSIS"
-.HP \w'\fB/usr/sbin/transactional\-update\fR\ 'u
-\fB/usr/sbin/transactional\-update\fR [\-\-help] [\-\-version]
-.HP \w'\fB/usr/sbin/transactional\-update\fR\ 'u
-\fB/usr/sbin/transactional\-update\fR [cleanup] [up | dup | patch | ptf | bootloader | initrd | [reboot]]
+.HP \w'\fBtransactional\-update\fR\ 'u
+\fBtransactional\-update\fR [\-\-help] [\-\-version]
+.HP \w'\fBtransactional\-update\fR\ 'u
+\fBtransactional\-update\fR [cleanup] [up | dup | patch | bootloader | initrd] [kdump] [reboot]
+.HP \w'\fBtransactional\-update\fR\ 'u
+\fBtransactional\-update\fR [cleanup] ptf install | remove <RPM>\&.\&.\&.<RPM> [reboot]
.PP
transactional\-update\&.service
.PP
@@ -114,7 +116,12 @@
.PP
\fBinitrd\fR
.RS 4
-A new initrd is created in a new snapshot\&.
+A new initrd is created in a snapshot\&.
+.RE
+.PP
+\fBkdump\fR
+.RS 4
+A new initrd for kdump is created in a snapshot\&.
.RE
.PP
\fBreboot\fR
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.8/man/transactional-update.8.html new/transactional-update-1.9/man/transactional-update.8.html
--- old/transactional-update-1.8/man/transactional-update.8.html 2017-01-30 10:21:17.000000000 +0100
+++ new/transactional-update-1.9/man/transactional-update.8.html 2017-02-06 14:46:46.000000000 +0100
@@ -15,8 +15,8 @@
h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, dt:hover > a.headerlink {
visibility: visible;
}
- </style><a href="transactional-update.index.html">Index </a><span style="float:right">transactional-update 1.7</span><hr><div class="refentry"><a name="transactional-update.8"></a><div class="titlepage"></div><div class="refnamediv"><a name="name"></a><h2>Name</h2><p>transactional-update, transactional-update.service, transactional-update.timer — Apply updates to the system in an atomic way via transactional
- updates.</p></div><div class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">/usr/sbin/transactional-update</code> [--help] [--version]</p></div><div class="cmdsynopsis"><p><code class="command">/usr/sbin/transactional-update</code> [cleanup] [ up | dup | patch | ptf | bootloader | initrd | [reboot]]</p></div><p><code class="filename">transactional-update.service</code></p><p><code class="filename">transactional-update.timer</code></p></div><div class="refsect1"><a name="description"></a><h2 id="DESCRIPTION">DESCRIPTION<a class="headerlink" title="Permalink to this headline" href="#DESCRIPTION">¶</a></h2><p><span class="command"><strong>transactional-update</strong></span> updates the system
+ </style><a href="transactional-update.index.html">Index </a><span style="float:right">transactional-update 1.8</span><hr><div class="refentry"><a name="transactional-update.8"></a><div class="titlepage"></div><div class="refnamediv"><a name="name"></a><h2>Name</h2><p>transactional-update, transactional-update.service, transactional-update.timer — Apply updates to the system in an atomic way via transactional
+ updates.</p></div><div class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">transactional-update</code> [--help] [--version]</p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> [cleanup] [ up | dup | patch | bootloader | initrd ] [kdump] [reboot]</p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> [cleanup] ptf install | remove <RPM>...<RPM> [reboot]</p></div><p><code class="filename">transactional-update.service</code></p><p><code class="filename">transactional-update.timer</code></p></div><div class="refsect1"><a name="description"></a><h2 id="DESCRIPTION">DESCRIPTION<a class="headerlink" title="Permalink to this headline" href="#DESCRIPTION">¶</a></h2><p><span class="command"><strong>transactional-update</strong></span> updates the system
in a transactional way, which means: it is atomic, so either the patches are
fully applied or nothing is changed. The update does not influence your
running system and it can be rolled back. To activate the changes, the system
@@ -66,7 +66,9 @@
A new snapshot is created, the bootloader configuration updated and
the boorloader newly written.
</p></dd><dt id="initrd"><span class="term"><code class="option">initrd</code></span><a class="headerlink" title="Permalink to this term" href="#initrd">¶</a></dt><dd><p>
- A new initrd is created in a new snapshot.
+ A new initrd is created in a snapshot.
+ </p></dd><dt id="kdump"><span class="term"><code class="option">kdump</code></span><a class="headerlink" title="Permalink to this term" href="#kdump">¶</a></dt><dd><p>
+ A new initrd for kdump is created in a snapshot.
</p></dd><dt id="reboot"><span class="term"><code class="option">reboot</code></span><a class="headerlink" title="Permalink to this term" href="#reboot">¶</a></dt><dd><p>
If a new snapshot with updates was created, the system should be
rebooted. This option will trigger the necessary reboot. If the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.8/man/transactional-update.8.xml new/transactional-update-1.9/man/transactional-update.8.xml
--- old/transactional-update-1.8/man/transactional-update.8.xml 2017-01-30 09:45:22.000000000 +0100
+++ new/transactional-update-1.9/man/transactional-update.8.xml 2017-02-05 11:30:39.000000000 +0100
@@ -54,22 +54,33 @@
<!-- body begins here -->
<refsynopsisdiv id='synopsis'>
<cmdsynopsis>
- <command>/usr/sbin/transactional-update</command>
+ <command>transactional-update</command>
<arg choice='opt'>--help</arg>
<arg choice='opt'>--version</arg>
</cmdsynopsis>
<cmdsynopsis>
- <command>/usr/sbin/transactional-update</command>
+ <command>transactional-update</command>
<arg choice='opt'>cleanup</arg>
<group choice='opt'>
<arg choice='plain'>up</arg>
<arg choice='plain'>dup</arg>
<arg choice='plain'>patch</arg>
- <arg choice='plain'>ptf</arg>
<arg choice='plain'>bootloader</arg>
<arg choice='plain'>initrd</arg>
- <arg choice='opt'>reboot</arg>
</group>
+ <arg choice='opt'>kdump</arg>
+ <arg choice='opt'>reboot</arg>
+ </cmdsynopsis>
+ <cmdsynopsis>
+ <command>transactional-update</command>
+ <arg choice='opt'>cleanup</arg>
+ <arg choice='plain'>ptf</arg>
+ <group choice='plain'>
+ <arg choice='plain'>install</arg>
+ <arg choice='plain'>remove</arg>
+ </group>
+ <arg choice='plain'><RPM>...<RPM></arg>
+ <arg choice='opt'>reboot</arg>
</cmdsynopsis>
<para><filename>transactional-update.service</filename></para>
<para><filename>transactional-update.timer</filename></para>
@@ -191,7 +202,15 @@
<term><option>initrd</option></term>
<listitem>
<para>
- A new initrd is created in a new snapshot.
+ A new initrd is created in a snapshot.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><option>kdump</option></term>
+ <listitem>
+ <para>
+ A new initrd for kdump is created in a snapshot.
</para>
</listitem>
</varlistentry>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.8/man/transactional-update.index.html new/transactional-update-1.9/man/transactional-update.index.html
--- old/transactional-update-1.8/man/transactional-update.index.html 2017-01-30 10:21:17.000000000 +0100
+++ new/transactional-update-1.9/man/transactional-update.index.html 2017-02-06 14:46:46.000000000 +0100
@@ -15,4 +15,4 @@
h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, dt:hover > a.headerlink {
visibility: visible;
}
- </style><a href="transactional-update.index.html">Index </a><span style="float:right">transactional-update 1.7</span><hr><div class="refentry"><a name="transactional-update.index"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>transactional-update.index — List all manpages from the transactional-update project</p></div><div class="refsect1"><a name="id-1.4"></a><h2 id="T">T<a class="headerlink" title="Permalink to this headline" href="#T">¶</a></h2><p><a href="transactional-update.8.html"><span class="citerefentry"><span class="refentrytitle">transactional-update</span>(8)</span></a> -- Apply updates to the system in an atomic way via transactional updates.<br><a href="transactional-update.service.8.html"><span class="citerefentry"><span class="refentrytitle">transactional-update.service</span>(8)</span></a> -- Apply updates to the system in an atomic way via transactional updates.<br><a href="transactional-update.timer.8.html"><span class="citerefentry"><span class="refentrytitle">transactional-update.timer</span>(8)</span></a> -- Apply updates to the system in an atomic way via transactional updates.<br></p></div><div class="refsect1"><a name="id-1.5"></a><p><a name="counts"></a>This index contains 3 entries, referring to 1 individual manual pages.</p></div></div></body></html>
+ </style><a href="transactional-update.index.html">Index </a><span style="float:right">transactional-update 1.8</span><hr><div class="refentry"><a name="transactional-update.index"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>transactional-update.index — List all manpages from the transactional-update project</p></div><div class="refsect1"><a name="id-1.4"></a><h2 id="T">T<a class="headerlink" title="Permalink to this headline" href="#T">¶</a></h2><p><a href="transactional-update.8.html"><span class="citerefentry"><span class="refentrytitle">transactional-update</span>(8)</span></a> -- Apply updates to the system in an atomic way via transactional updates.<br><a href="transactional-update.service.8.html"><span class="citerefentry"><span class="refentrytitle">transactional-update.service</span>(8)</span></a> -- Apply updates to the system in an atomic way via transactional updates.<br><a href="transactional-update.timer.8.html"><span class="citerefentry"><span class="refentrytitle">transactional-update.timer</span>(8)</span></a> -- Apply updates to the system in an atomic way via transactional updates.<br></p></div><div class="refsect1"><a name="id-1.5"></a><p><a name="counts"></a>This index contains 3 entries, referring to 1 individual manual pages.</p></div></div></body></html>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.8/man/transactional-update.service.8.html new/transactional-update-1.9/man/transactional-update.service.8.html
--- old/transactional-update-1.8/man/transactional-update.service.8.html 2017-01-30 10:21:17.000000000 +0100
+++ new/transactional-update-1.9/man/transactional-update.service.8.html 2017-02-06 14:46:46.000000000 +0100
@@ -15,8 +15,8 @@
h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, dt:hover > a.headerlink {
visibility: visible;
}
- </style><a href="transactional-update.index.html">Index </a><span style="float:right">transactional-update 1.7</span><hr><div class="refentry"><a name="transactional-update.8"></a><div class="titlepage"></div><div class="refnamediv"><a name="name"></a><h2>Name</h2><p>transactional-update, transactional-update.service, transactional-update.timer — Apply updates to the system in an atomic way via transactional
- updates.</p></div><div class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">/usr/sbin/transactional-update</code> [--help] [--version]</p></div><div class="cmdsynopsis"><p><code class="command">/usr/sbin/transactional-update</code> [cleanup] [ up | dup | patch | ptf | bootloader | initrd | [reboot]]</p></div><p><code class="filename">transactional-update.service</code></p><p><code class="filename">transactional-update.timer</code></p></div><div class="refsect1"><a name="description"></a><h2 id="DESCRIPTION">DESCRIPTION<a class="headerlink" title="Permalink to this headline" href="#DESCRIPTION">¶</a></h2><p><span class="command"><strong>transactional-update</strong></span> updates the system
+ </style><a href="transactional-update.index.html">Index </a><span style="float:right">transactional-update 1.8</span><hr><div class="refentry"><a name="transactional-update.8"></a><div class="titlepage"></div><div class="refnamediv"><a name="name"></a><h2>Name</h2><p>transactional-update, transactional-update.service, transactional-update.timer — Apply updates to the system in an atomic way via transactional
+ updates.</p></div><div class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">transactional-update</code> [--help] [--version]</p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> [cleanup] [ up | dup | patch | bootloader | initrd ] [kdump] [reboot]</p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> [cleanup] ptf install | remove <RPM>...<RPM> [reboot]</p></div><p><code class="filename">transactional-update.service</code></p><p><code class="filename">transactional-update.timer</code></p></div><div class="refsect1"><a name="description"></a><h2 id="DESCRIPTION">DESCRIPTION<a class="headerlink" title="Permalink to this headline" href="#DESCRIPTION">¶</a></h2><p><span class="command"><strong>transactional-update</strong></span> updates the system
in a transactional way, which means: it is atomic, so either the patches are
fully applied or nothing is changed. The update does not influence your
running system and it can be rolled back. To activate the changes, the system
@@ -66,7 +66,9 @@
A new snapshot is created, the bootloader configuration updated and
the boorloader newly written.
</p></dd><dt id="initrd"><span class="term"><code class="option">initrd</code></span><a class="headerlink" title="Permalink to this term" href="#initrd">¶</a></dt><dd><p>
- A new initrd is created in a new snapshot.
+ A new initrd is created in a snapshot.
+ </p></dd><dt id="kdump"><span class="term"><code class="option">kdump</code></span><a class="headerlink" title="Permalink to this term" href="#kdump">¶</a></dt><dd><p>
+ A new initrd for kdump is created in a snapshot.
</p></dd><dt id="reboot"><span class="term"><code class="option">reboot</code></span><a class="headerlink" title="Permalink to this term" href="#reboot">¶</a></dt><dd><p>
If a new snapshot with updates was created, the system should be
rebooted. This option will trigger the necessary reboot. If the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.8/man/transactional-update.timer.8.html new/transactional-update-1.9/man/transactional-update.timer.8.html
--- old/transactional-update-1.8/man/transactional-update.timer.8.html 2017-01-30 10:21:17.000000000 +0100
+++ new/transactional-update-1.9/man/transactional-update.timer.8.html 2017-02-06 14:46:46.000000000 +0100
@@ -15,8 +15,8 @@
h1:hover > a.headerlink, h2:hover > a.headerlink, h3:hover > a.headerlink, dt:hover > a.headerlink {
visibility: visible;
}
- </style><a href="transactional-update.index.html">Index </a><span style="float:right">transactional-update 1.7</span><hr><div class="refentry"><a name="transactional-update.8"></a><div class="titlepage"></div><div class="refnamediv"><a name="name"></a><h2>Name</h2><p>transactional-update, transactional-update.service, transactional-update.timer — Apply updates to the system in an atomic way via transactional
- updates.</p></div><div class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">/usr/sbin/transactional-update</code> [--help] [--version]</p></div><div class="cmdsynopsis"><p><code class="command">/usr/sbin/transactional-update</code> [cleanup] [ up | dup | patch | ptf | bootloader | initrd | [reboot]]</p></div><p><code class="filename">transactional-update.service</code></p><p><code class="filename">transactional-update.timer</code></p></div><div class="refsect1"><a name="description"></a><h2 id="DESCRIPTION">DESCRIPTION<a class="headerlink" title="Permalink to this headline" href="#DESCRIPTION">¶</a></h2><p><span class="command"><strong>transactional-update</strong></span> updates the system
+ </style><a href="transactional-update.index.html">Index </a><span style="float:right">transactional-update 1.8</span><hr><div class="refentry"><a name="transactional-update.8"></a><div class="titlepage"></div><div class="refnamediv"><a name="name"></a><h2>Name</h2><p>transactional-update, transactional-update.service, transactional-update.timer — Apply updates to the system in an atomic way via transactional
+ updates.</p></div><div class="refsynopsisdiv"><a name="synopsis"></a><h2>Synopsis</h2><div class="cmdsynopsis"><p><code class="command">transactional-update</code> [--help] [--version]</p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> [cleanup] [ up | dup | patch | bootloader | initrd ] [kdump] [reboot]</p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> [cleanup] ptf install | remove <RPM>...<RPM> [reboot]</p></div><p><code class="filename">transactional-update.service</code></p><p><code class="filename">transactional-update.timer</code></p></div><div class="refsect1"><a name="description"></a><h2 id="DESCRIPTION">DESCRIPTION<a class="headerlink" title="Permalink to this headline" href="#DESCRIPTION">¶</a></h2><p><span class="command"><strong>transactional-update</strong></span> updates the system
in a transactional way, which means: it is atomic, so either the patches are
fully applied or nothing is changed. The update does not influence your
running system and it can be rolled back. To activate the changes, the system
@@ -66,7 +66,9 @@
A new snapshot is created, the bootloader configuration updated and
the boorloader newly written.
</p></dd><dt id="initrd"><span class="term"><code class="option">initrd</code></span><a class="headerlink" title="Permalink to this term" href="#initrd">¶</a></dt><dd><p>
- A new initrd is created in a new snapshot.
+ A new initrd is created in a snapshot.
+ </p></dd><dt id="kdump"><span class="term"><code class="option">kdump</code></span><a class="headerlink" title="Permalink to this term" href="#kdump">¶</a></dt><dd><p>
+ A new initrd for kdump is created in a snapshot.
</p></dd><dt id="reboot"><span class="term"><code class="option">reboot</code></span><a class="headerlink" title="Permalink to this term" href="#reboot">¶</a></dt><dd><p>
If a new snapshot with updates was created, the system should be
rebooted. This option will trigger the necessary reboot. If the
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.8/sbin/transactional-update.in new/transactional-update-1.9/sbin/transactional-update.in
--- old/transactional-update-1.8/sbin/transactional-update.in 2017-01-30 15:57:40.000000000 +0100
+++ new/transactional-update-1.9/sbin/transactional-update.in 2017-02-06 15:42:10.000000000 +0100
@@ -129,17 +129,6 @@
ORIG_ARGS="$@"
-bashlock "/var/run/transactional-update.pid"
-if [ $? -ne 0 ]; then
- echo "Couldn't get lock, another instance is already running?"
- exit 1;
-fi
-
-# load old state file
-if [ -f ${STATE_FILE} ]; then
- . ${STATE_FILE}
-fi
-
# if no option is given, assume "up"
if [ $# -eq 0 ]; then
ZYPPER_ARG="up"
@@ -191,7 +180,7 @@
fi
done
# Run installing PTFs interactive
- #ZYPPER_NONINTERACTIVE=""
+ ZYPPER_NONINTERACTIVE=""
;;
bootloader)
REWRITE_BOOTLOADER=1
@@ -233,6 +222,17 @@
usage 1;
fi
+bashlock "/var/run/transactional-update.pid"
+if [ $? -ne 0 ]; then
+ echo "Couldn't get lock, another instance is already running?"
+ exit 1;
+fi
+
+# load old state file
+if [ -f ${STATE_FILE} ]; then
+ . ${STATE_FILE}
+fi
+
log_info "transactional-update @VERSION@ started"
log_info "Options: $ORIG_ARGS"
@@ -303,7 +303,7 @@
-o ${REWRITE_GRUB_CFG} -eq 1 -o ${REWRITE_INITRD} -eq 1 \
-o ${REBUILD_KDUMP_INITRD} -eq 1 ]; then
- if [ -n "${ZYPPER_ARG}" ]; then
+ if [ -n "${ZYPPER_ARG}" -a -n "${ZYPPER_NONINTERACTIVE}" ]; then
#check if there are updates at all
TMPFILE=`mktemp /tmp/transactional-update.XXXXXXXXXX`
zypper --xml ${ZYPPER_NONINTERACTIVE} ${ZYPPER_ARG} --dry-run ${ZYPPER_ARG_PKGS} > ${TMPFILE}
@@ -402,7 +402,11 @@
if [ -n "${ZYPPER_ARG}" ]; then
log_info "Calling zypper ${ZYPPER_ARG}"
- env DISABLE_RESTART_ON_UPDATE=yes zypper ${ZYPPER_NONINTERACTIVE} -R ${MOUNT_DIR} ${ZYPPER_ARG} ${ZYPPER_ARG_PKGS} |& tee -a ${LOGFILE}
+ if [ -n ${ZYPPER_NONINTERACTIVE} ]; then
+ env DISABLE_RESTART_ON_UPDATE=yes zypper ${ZYPPER_NONINTERACTIVE} -R ${MOUNT_DIR} ${ZYPPER_ARG} ${ZYPPER_ARG_PKGS} |& tee -a ${LOGFILE}
+ else
+ env DISABLE_RESTART_ON_UPDATE=yes zypper -R ${MOUNT_DIR} ${ZYPPER_ARG} ${ZYPPER_ARG_PKGS}
+ fi
if [ $? -ne 0 ]; then
log_error "ERROR: zypper ${ZYPPER_ARG} on $directory failed!"
EXITCODE=1
@@ -446,7 +450,7 @@
# Unmount everything we don't need anymore:
for directory in proc sys $DIR_TO_MOUNT ; do
- umount ${SNAPSHOT_DIR}/$directory
+ umount -R ${SNAPSHOT_DIR}/$directory
if [ $? -ne 0 ]; then
log_error "ERROR: umount of $directory failed!"
fuser -v ${SNAPSHOT_DIR}/$directory >> ${LOGFILE}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.8/systemd/transactional-update.service new/transactional-update-1.9/systemd/transactional-update.service
--- old/transactional-update-1.8/systemd/transactional-update.service 2016-11-16 22:36:25.000000000 +0100
+++ new/transactional-update-1.9/systemd/transactional-update.service 2017-02-01 18:00:19.000000000 +0100
@@ -2,6 +2,8 @@
Description=Update the system
Documentation=man:transactional-update(8)
ConditionACPower=true
+Wants=network.target
+After=network.target
[Service]
Type=oneshot