Hello community,
here is the log from the commit of package transactional-update for openSUSE:Factory checked in at 2017-04-24 09:49:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/transactional-update (Old)
and /work/SRC/openSUSE:Factory/.transactional-update.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "transactional-update"
Mon Apr 24 09:49:30 2017 rev:8 rq:489767 version:1.14
Changes:
--------
--- /work/SRC/openSUSE:Factory/transactional-update/transactional-update.changes 2017-03-21 22:51:35.429467071 +0100
+++ /work/SRC/openSUSE:Factory/.transactional-update.new/transactional-update.changes 2017-04-24 09:49:31.293696439 +0200
@@ -1,0 +2,6 @@
+Fri Apr 21 11:24:54 CEST 2017 - kukuk@suse.de
+
+- Update to version 1.14
+ - Fix check of return values of commands in pipes [bsc#1034900]
+
+-------------------------------------------------------------------
Old:
----
transactional-update-1.12.tar.bz2
New:
----
transactional-update-1.14.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ transactional-update.spec ++++++
--- /var/tmp/diff_new_pack.1NMj3w/_old 2017-04-24 09:49:33.029450943 +0200
+++ /var/tmp/diff_new_pack.1NMj3w/_new 2017-04-24 09:49:33.033450377 +0200
@@ -17,7 +17,7 @@
Name: transactional-update
-Version: 1.12
+Version: 1.14
Release: 0
Summary: Transactional Updates with btrfs and snapshots
License: GPL-2.0+
++++++ transactional-update-1.12.tar.bz2 -> transactional-update-1.14.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.12/NEWS new/transactional-update-1.14/NEWS
--- old/transactional-update-1.12/NEWS 2017-03-21 10:26:55.000000000 +0100
+++ new/transactional-update-1.14/NEWS 2017-04-21 11:24:36.000000000 +0200
@@ -2,6 +2,12 @@
Copyright (C) 2016, 2017 Thorsten Kukuk
+Version 1.14
+* Fix check of return values of commands in pipes
+
+Version 1.13
+* Remove not-working bootloader option
+
Version 1.12
* Minor bug fixes
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.12/configure new/transactional-update-1.14/configure
--- old/transactional-update-1.12/configure 2017-03-21 10:27:02.000000000 +0100
+++ new/transactional-update-1.14/configure 2017-04-21 11:24:40.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.12.
+# Generated by GNU Autoconf 2.69 for transactional-update 1.14.
#
#
# 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.12'
-PACKAGE_STRING='transactional-update 1.12'
+PACKAGE_VERSION='1.14'
+PACKAGE_STRING='transactional-update 1.14'
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.12 to adapt to many kinds of systems.
+\`configure' configures transactional-update 1.14 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.12:";;
+ short | recursive ) echo "Configuration of transactional-update 1.14:";;
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.12
+transactional-update configure 1.14
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.12, which was
+It was created by transactional-update $as_me 1.14, 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.12'
+ VERSION='1.14'
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.12, which was
+This file was extended by transactional-update $as_me 1.14, 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.12
+transactional-update config.status 1.14
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.12/configure.ac new/transactional-update-1.14/configure.ac
--- old/transactional-update-1.12/configure.ac 2017-03-21 10:26:23.000000000 +0100
+++ new/transactional-update-1.14/configure.ac 2017-04-21 11:24:16.000000000 +0200
@@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
-AC_INIT(transactional-update, 1.12)
+AC_INIT(transactional-update, 1.14)
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.12/logrotate/Makefile.in new/transactional-update-1.14/logrotate/Makefile.in
--- old/transactional-update-1.12/logrotate/Makefile.in 2017-03-21 10:27:02.000000000 +0100
+++ new/transactional-update-1.14/logrotate/Makefile.in 2017-04-21 11:28:53.000000000 +0200
@@ -238,9 +238,9 @@
exit 1;; \
esac; \
done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign logrotate/Makefile'; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu logrotate/Makefile'; \
$(am__cd) $(top_srcdir) && \
- $(AUTOMAKE) --foreign logrotate/Makefile
+ $(AUTOMAKE) --gnu logrotate/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.12/man/Makefile.in new/transactional-update-1.14/man/Makefile.in
--- old/transactional-update-1.12/man/Makefile.in 2017-03-21 10:27:02.000000000 +0100
+++ new/transactional-update-1.14/man/Makefile.in 2017-04-21 11:28:53.000000000 +0200
@@ -261,9 +261,9 @@
exit 1;; \
esac; \
done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign man/Makefile'; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu man/Makefile'; \
$(am__cd) $(top_srcdir) && \
- $(AUTOMAKE) --foreign man/Makefile
+ $(AUTOMAKE) --gnu man/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.12/man/transactional-update.8 new/transactional-update-1.14/man/transactional-update.8
--- old/transactional-update-1.12/man/transactional-update.8 2017-03-03 11:46:00.000000000 +0100
+++ new/transactional-update-1.14/man/transactional-update.8 2017-04-21 11:28:57.000000000 +0200
@@ -2,12 +2,12 @@
.\" Title: transactional-update
.\" Author: Thorsten Kukuk
.\" Generator: DocBook XSL Stylesheets v1.78.1 http://docbook.sf.net/
-.\" Date: 03/03/2017
+.\" Date: 04/21/2017
.\" Manual: transactional-update
.\" Source: transactional-update
.\" Language: English
.\"
-.TH "TRANSACTIONAL\-UPDAT" "8" "03/03/2017" "transactional-update" "transactional-update"
+.TH "TRANSACTIONAL\-UPDAT" "8" "04/21/2017" "transactional-update" "transactional-update"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -33,7 +33,7 @@
.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]
+\fBtransactional\-update\fR [cleanup] [up | dup | patch | initrd] [kdump] [reboot]
.HP \w'\fBtransactional\-update\fR\ 'u
\fBtransactional\-update\fR [cleanup] [reboot] ptf install | remove <RPM>\&.\&.\&.<RPM>
.HP \w'\fBtransactional\-update\fR\ 'u
@@ -111,11 +111,6 @@
A PTF consist of several RPMs can be removed from the system\&.
.RE
.PP
-\fBbootloader\fR
-.RS 4
-A new snapshot is created, the bootloader configuration updated and the boorloader newly written\&.
-.RE
-.PP
\fBinitrd\fR
.RS 4
A new initrd is created in a snapshot\&.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.12/man/transactional-update.8.html new/transactional-update-1.14/man/transactional-update.8.html
--- old/transactional-update-1.12/man/transactional-update.8.html 2017-03-03 11:46:00.000000000 +0100
+++ new/transactional-update-1.14/man/transactional-update.8.html 2017-04-21 11:28:57.000000000 +0200
@@ -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.11</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] [reboot] ptf install | remove <RPM>...<RPM> </p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> rollback [number]</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.14</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 | initrd ] [kdump] [reboot]</p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> [cleanup] [reboot] ptf install | remove <RPM>...<RPM> </p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> rollback [number]</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
@@ -62,9 +62,6 @@
A PTF consist of several RPMs can be installed in the system.
</p></dd><dt id="ptf remove <RPM> ... <RPM>"><span class="term"><code class="option">ptf remove</code> <em class="replaceable"><code><RPM> ... <RPM></code></em></span><a class="headerlink" title="Permalink to this term" href="#ptf%20remove%20<RPM>%20...%20<RPM>">¶</a></dt><dd><p>
A PTF consist of several RPMs can be removed from the system.
- </p></dd><dt id="bootloader"><span class="term"><code class="option">bootloader</code></span><a class="headerlink" title="Permalink to this term" href="#bootloader">¶</a></dt><dd><p>
- 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 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>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.12/man/transactional-update.8.xml new/transactional-update-1.14/man/transactional-update.8.xml
--- old/transactional-update-1.12/man/transactional-update.8.xml 2017-03-02 13:07:08.000000000 +0100
+++ new/transactional-update-1.14/man/transactional-update.8.xml 2017-04-21 10:29:42.000000000 +0200
@@ -7,18 +7,18 @@
<!-- This file is part of transactional\-update. -->
-<!-- transactional\-update is free software; you can redistribute it and/or -->
+<!-- This program is free software; you can redistribute it and/or -->
<!-- modify it under the terms of the GNU General Public License as -->
<!-- published by the Free Software Foundation; either version 2 of the -->
<!-- License, or (at your option) any later version. -->
-<!-- transactional\-update is distributed in the hope that it will be useful, -->
+<!-- This program is distributed in the hope that it will be useful, -->
<!-- but WITHOUT ANY WARRANTY; without even the implied warranty of -->
<!-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -->
<!-- General Public License for more details. -->
<!-- You should have received a copy of the GNU General Public -->
-<!-- License along with issue\-generator; see the file COPYING. If not, -->
+<!-- License along with This program see the file COPYING. If not, -->
<!-- write to the Free Software Foundation, Inc., 51 Franklin Street \- Suite 500, -->
<!-- Boston, MA 02111\-1307, USA. -->
@@ -65,7 +65,6 @@
<arg choice='plain'>up</arg>
<arg choice='plain'>dup</arg>
<arg choice='plain'>patch</arg>
- <arg choice='plain'>bootloader</arg>
<arg choice='plain'>initrd</arg>
</group>
<arg choice='opt'>kdump</arg>
@@ -194,15 +193,6 @@
</para>
</listitem>
</varlistentry>
- <varlistentry>
- <term><option>bootloader</option></term>
- <listitem>
- <para>
- A new snapshot is created, the bootloader configuration updated and
- the boorloader newly written.
- </para>
- </listitem>
- </varlistentry>
<varlistentry>
<term><option>initrd</option></term>
<listitem>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.12/man/transactional-update.index.html new/transactional-update-1.14/man/transactional-update.index.html
--- old/transactional-update-1.12/man/transactional-update.index.html 2017-03-03 11:46:01.000000000 +0100
+++ new/transactional-update-1.14/man/transactional-update.index.html 2017-04-21 11:28:57.000000000 +0200
@@ -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.11</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.14</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.12/man/transactional-update.service.8.html new/transactional-update-1.14/man/transactional-update.service.8.html
--- old/transactional-update-1.12/man/transactional-update.service.8.html 2017-03-03 11:46:00.000000000 +0100
+++ new/transactional-update-1.14/man/transactional-update.service.8.html 2017-04-21 11:28:57.000000000 +0200
@@ -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.11</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] [reboot] ptf install | remove <RPM>...<RPM> </p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> rollback [number]</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.14</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 | initrd ] [kdump] [reboot]</p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> [cleanup] [reboot] ptf install | remove <RPM>...<RPM> </p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> rollback [number]</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
@@ -62,9 +62,6 @@
A PTF consist of several RPMs can be installed in the system.
</p></dd><dt id="ptf remove <RPM> ... <RPM>"><span class="term"><code class="option">ptf remove</code> <em class="replaceable"><code><RPM> ... <RPM></code></em></span><a class="headerlink" title="Permalink to this term" href="#ptf%20remove%20<RPM>%20...%20<RPM>">¶</a></dt><dd><p>
A PTF consist of several RPMs can be removed from the system.
- </p></dd><dt id="bootloader"><span class="term"><code class="option">bootloader</code></span><a class="headerlink" title="Permalink to this term" href="#bootloader">¶</a></dt><dd><p>
- 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 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>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.12/man/transactional-update.timer.8.html new/transactional-update-1.14/man/transactional-update.timer.8.html
--- old/transactional-update-1.12/man/transactional-update.timer.8.html 2017-03-03 11:46:00.000000000 +0100
+++ new/transactional-update-1.14/man/transactional-update.timer.8.html 2017-04-21 11:28:57.000000000 +0200
@@ -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.11</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] [reboot] ptf install | remove <RPM>...<RPM> </p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> rollback [number]</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.14</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 | initrd ] [kdump] [reboot]</p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> [cleanup] [reboot] ptf install | remove <RPM>...<RPM> </p></div><div class="cmdsynopsis"><p><code class="command">transactional-update</code> rollback [number]</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
@@ -62,9 +62,6 @@
A PTF consist of several RPMs can be installed in the system.
</p></dd><dt id="ptf remove <RPM> ... <RPM>"><span class="term"><code class="option">ptf remove</code> <em class="replaceable"><code><RPM> ... <RPM></code></em></span><a class="headerlink" title="Permalink to this term" href="#ptf%20remove%20<RPM>%20...%20<RPM>">¶</a></dt><dd><p>
A PTF consist of several RPMs can be removed from the system.
- </p></dd><dt id="bootloader"><span class="term"><code class="option">bootloader</code></span><a class="headerlink" title="Permalink to this term" href="#bootloader">¶</a></dt><dd><p>
- 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 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>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.12/sbin/Makefile.in new/transactional-update-1.14/sbin/Makefile.in
--- old/transactional-update-1.12/sbin/Makefile.in 2017-03-21 10:27:02.000000000 +0100
+++ new/transactional-update-1.14/sbin/Makefile.in 2017-04-21 11:28:53.000000000 +0200
@@ -238,9 +238,9 @@
exit 1;; \
esac; \
done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign sbin/Makefile'; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu sbin/Makefile'; \
$(am__cd) $(top_srcdir) && \
- $(AUTOMAKE) --foreign sbin/Makefile
+ $(AUTOMAKE) --gnu sbin/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.12/sbin/transactional-update.in new/transactional-update-1.14/sbin/transactional-update.in
--- old/transactional-update-1.12/sbin/transactional-update.in 2017-03-21 10:25:23.000000000 +0100
+++ new/transactional-update-1.14/sbin/transactional-update.in 2017-04-21 11:01:08.000000000 +0200
@@ -25,7 +25,6 @@
ZYPPER_ARG=""
ZYPPER_NONINTERACTIVE=--non-interactive
ZYPPER_ARG_PKGS=""
-REWRITE_BOOTLOADER=0
REWRITE_GRUB_CFG=0
REWRITE_INITRD=0
REBUILD_KDUMP_INITRD=0
@@ -42,7 +41,7 @@
usage() {
echo "Usage: transactional-update --help|--version"
- echo " transactional-update [cleanup][up|dup|patch|bootloader|initrd][kdump][reboot]"
+ echo " transactional-update [cleanup][up|dup|patch|initrd][kdump][reboot]"
echo " transactional-update [cleanup] [reboot] ptf install|remove PKG1..PKGN"
echo " transactional-update rollback [number]"
exit $1
@@ -190,11 +189,6 @@
# Run installing PTFs interactive
ZYPPER_NONINTERACTIVE=""
;;
- bootloader)
- REWRITE_BOOTLOADER=1
- REWRITE_GRUB_CFG=1
- shift
- ;;
grub.cfg)
REWRITE_GRUB_CFG=1
shift
@@ -274,8 +268,11 @@
RO_ROOT=`btrfs property get / ro | sed -e 's|ro=||'`
if [ ${DO_ROLLBACK} -eq 1 ]; then
+ NEED_REBOOT_WARNING=1
+
if [ ${ROLLBACK_SNAPSHOT} -eq 0 ]; then
ROLLBACK_SNAPSHOT=${ORIG_SNAPSHOT_ID}
+ NEED_REBOOT_WARNING=0
fi
echo "Rollback to snapshot ${ROLLBACK_SNAPSHOT} ..."
@@ -296,6 +293,9 @@
snapper modify -c '' ${ROLLBACK_SNAPSHOT}
else
snapper rollback ${ROLLBACK_SNAPSHOT}
+ NEED_REBOOT_WARNING=1
+ fi
+ if [ ${NEED_REBOOT_WARNING} -eq 1 ]; then
echo "Please reboot to finish rollback!"
fi
exit 0;
@@ -311,7 +311,7 @@
if [ -n "${LAST_WORKING_SNAPSHOT_ID}" ]; then
log_info "Add cleanup algorithm to snapshot #${LAST_WORKING_SNAPSHOT_ID}"
snapper modify -c number ${LAST_WORKING_SNAPSHOT_ID} |& tee -a ${LOGFILE}
- if [ $? -ne 0 ]; then
+ if [ ${PIPESTATUS[0]} -ne 0 ]; then
log_error "ERROR: cannot set cleanup algorithm for snapshot #${LAST_WORKING_SNAPSHOT_ID}"
fi
# if the old snapshot is read-write, we have already a mandatory snapshot and this one can deleted
@@ -319,7 +319,7 @@
if [ ${RO_ROOT} == "true" ]; then
log_info "Add \"important=yes\" to snapshot #${LAST_WORKING_SNAPSHOT_ID}"
snapper modify -u "important=yes" ${LAST_WORKING_SNAPSHOT_ID} |& tee -a ${LOGFILE}
- if [ $? -ne 0 ]; then
+ if [ ${PIPESTATUS[0]} -ne 0 ]; then
log_error "ERROR: cannot set \"important=yes for snapshot\" #${LAST_WORKING_SNAPSHOT_ID}"
fi
fi
@@ -332,7 +332,7 @@
if [ ${snap} -ne ${ORIG_SNAPSHOT_ID} ]; then
log_info "Mark not used snapshot #${snap} for deletion"
snapper modify -c number ${snap} |& tee -a ${LOGFILE}
- if [ $? -ne 0 ]; then
+ if [ ${PIPESTATUS[0]} -ne 0 ]; then
log_error "ERROR: cannot set cleanup algorithm for snapshot #${LAST_WORKING_SNAPSHOT_ID}"
fi
fi
@@ -343,9 +343,8 @@
fi
fi
-if [ -n "${ZYPPER_ARG}" -o ${REWRITE_BOOTLOADER} -eq 1 \
- -o ${REWRITE_GRUB_CFG} -eq 1 -o ${REWRITE_INITRD} -eq 1 \
- -o ${REBUILD_KDUMP_INITRD} -eq 1 ]; then
+if [ -n "${ZYPPER_ARG}" -o ${REWRITE_GRUB_CFG} -eq 1 \
+ -o ${REWRITE_INITRD} -eq 1 -o ${REBUILD_KDUMP_INITRD} -eq 1 ]; then
if [ -n "${ZYPPER_ARG}" -a -n "${ZYPPER_NONINTERACTIVE}" ]; then
#check if there are updates at all
@@ -446,10 +445,12 @@
log_info "Calling zypper ${ZYPPER_ARG}"
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}
+ RETVAL=${PIPESTATUS[0]}
else
env DISABLE_RESTART_ON_UPDATE=yes zypper -R ${MOUNT_DIR} ${ZYPPER_ARG} ${ZYPPER_ARG_PKGS}
+ RETVAL=$?
fi
- if [ $? -ne 0 ]; then
+ if [ $RETVAL -ne 0 ]; then
log_error "ERROR: zypper ${ZYPPER_ARG} on $directory failed!"
EXITCODE=1
else
@@ -481,14 +482,6 @@
EXITCODE=1;
fi
fi
- if [ ${REWRITE_BOOTLOADER} -eq 1 ]; then
- log_info "Write new bootloader"
- chroot ${MOUNT_DIR} /usr/sbin/grub2-install
- if [ $? -ne 0 ]; then
- log_error "ERROR: grub2-install failed!"
- EXITCODE=1;
- fi
- fi
# Unmount everything we don't need anymore:
for directory in proc sys $DIR_TO_MOUNT ; do
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/transactional-update-1.12/systemd/Makefile.in new/transactional-update-1.14/systemd/Makefile.in
--- old/transactional-update-1.12/systemd/Makefile.in 2017-03-21 10:27:02.000000000 +0100
+++ new/transactional-update-1.14/systemd/Makefile.in 2017-04-21 11:28:53.000000000 +0200
@@ -238,9 +238,9 @@
exit 1;; \
esac; \
done; \
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --foreign systemd/Makefile'; \
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu systemd/Makefile'; \
$(am__cd) $(top_srcdir) && \
- $(AUTOMAKE) --foreign systemd/Makefile
+ $(AUTOMAKE) --gnu systemd/Makefile
.PRECIOUS: Makefile
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
@case '$?' in \