Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package os-update for openSUSE:Factory checked in at 2022-11-25 13:11:59 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/os-update (Old) and /work/SRC/openSUSE:Factory/.os-update.new.1597 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "os-update" Fri Nov 25 13:11:59 2022 rev:7 rq:1037918 version:1.5 Changes: -------- --- /work/SRC/openSUSE:Factory/os-update/os-update.changes 2022-11-11 14:36:59.642442531 +0100 +++ /work/SRC/openSUSE:Factory/.os-update.new.1597/os-update.changes 2022-11-25 13:22:19.963413597 +0100 @@ -1,0 +2,7 @@ +Thu Nov 24 13:49:25 UTC 2022 - Thorsten Kukuk <ku...@suse.com> + +- Update to version 1.5 + - Restart udev after update by default + - Support REBOOT_CMD="none" + +------------------------------------------------------------------- Old: ---- os-update-1.4.2.tar.xz New: ---- os-update-1.5.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ os-update.spec ++++++ --- /var/tmp/diff_new_pack.yLZVKD/_old 2022-11-25 13:22:20.479416381 +0100 +++ /var/tmp/diff_new_pack.yLZVKD/_new 2022-11-25 13:22:20.487416424 +0100 @@ -21,7 +21,7 @@ %endif Name: os-update -Version: 1.4.2 +Version: 1.5 Release: 0 Summary: Updates the system regular to stay current and safe License: GPL-2.0-or-later ++++++ os-update-1.4.2.tar.xz -> os-update-1.5.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-update-1.4.2/NEWS new/os-update-1.5/NEWS --- old/os-update-1.4.2/NEWS 2022-11-11 10:58:41.000000000 +0100 +++ new/os-update-1.5/NEWS 2022-11-24 14:44:56.000000000 +0100 @@ -1,3 +1,7 @@ +Version 1.5 + - Restart udev after update by default + - Support REBOOT_CMD="none" + Version 1.4.2 - Fixes for openSUSE Leap - Add docu URLs to service files diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-update-1.4.2/README.md new/os-update-1.5/README.md --- old/os-update-1.4.2/README.md 2022-11-10 16:33:40.000000000 +0100 +++ new/os-update-1.5/README.md 2022-11-22 14:57:10.000000000 +0100 @@ -21,11 +21,11 @@ **UPDATE_CMD**="auto" - Specifies how to update the system. Valid values are "auto", "dup", "up" and "security". "auto" will select the best fitting command depending on the OS. -**REBOOT_CMD**="auto" - Specifies how the system will be rebooted in case an update requires this. Valid values are "auto", "rebootmgr" and "reboot". "auto" will use rebootmgr if installed and running, else `systemctl reboot`. +**REBOOT_CMD**="auto" - Specifies how the system will be rebooted in case an update requires this. Valid values are "auto", "rebootmgr", "reboot" and "none". "auto" will use rebootmgr if installed and running, else `systemctl reboot`. "none" will only print an informative message that a reboot is required, but not trigger any. **RESTART_SERVICES**="yes" - Specifies if after a successful update services should automatically restarted, if they are still using old libraries. -**IGNORE_SERVICES_FROM_RESTART**="udev dbus" - Specifies a list of services which should not be restarted +**IGNORE_SERVICES_FROM_RESTART**="dbus" - Specifies a list of services which should not be restarted ## CONFIGURATION FILES **/usr/etc/os-update.conf** - Vendor provided configuration file, contains the defaults. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-update-1.4.2/configure new/os-update-1.5/configure --- old/os-update-1.4.2/configure 2022-11-11 10:29:37.000000000 +0100 +++ new/os-update-1.5/configure 2022-11-24 14:45:23.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for os-update 1.4.2. +# Generated by GNU Autoconf 2.69 for os-update 1.5. # # # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc. @@ -576,8 +576,8 @@ # Identity of this package. PACKAGE_NAME='os-update' PACKAGE_TARNAME='os-update' -PACKAGE_VERSION='1.4.2' -PACKAGE_STRING='os-update 1.4.2' +PACKAGE_VERSION='1.5' +PACKAGE_STRING='os-update 1.5' PACKAGE_BUGREPORT='' PACKAGE_URL='' @@ -1214,7 +1214,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 os-update 1.4.2 to adapt to many kinds of systems. +\`configure' configures os-update 1.5 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1280,7 +1280,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of os-update 1.4.2:";; + short | recursive ) echo "Configuration of os-update 1.5:";; esac cat <<\_ACEOF @@ -1370,7 +1370,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -os-update configure 1.4.2 +os-update configure 1.5 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1387,7 +1387,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by os-update $as_me 1.4.2, which was +It was created by os-update $as_me 1.5, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -2250,7 +2250,7 @@ # Define the identity of the package. PACKAGE='os-update' - VERSION='1.4.2' + VERSION='1.5' cat >>confdefs.h <<_ACEOF @@ -3124,7 +3124,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by os-update $as_me 1.4.2, which was +This file was extended by os-update $as_me 1.5, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -3177,7 +3177,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -os-update config.status 1.4.2 +os-update config.status 1.5 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/os-update-1.4.2/configure.ac new/os-update-1.5/configure.ac --- old/os-update-1.4.2/configure.ac 2022-11-11 10:28:49.000000000 +0100 +++ new/os-update-1.5/configure.ac 2022-11-24 14:45:19.000000000 +0100 @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT(os-update, 1.4.2) +AC_INIT(os-update, 1.5) AM_INIT_AUTOMAKE AC_PREFIX_DEFAULT(/usr) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-update-1.4.2/src/os-update.8 new/os-update-1.5/src/os-update.8 --- old/os-update-1.4.2/src/os-update.8 2022-11-07 11:40:35.000000000 +0100 +++ new/os-update-1.5/src/os-update.8 2022-11-22 14:56:17.000000000 +0100 @@ -44,16 +44,18 @@ REBOOT_CMD=\[lq]auto\[rq] Specifies how the system will be rebooted in case an update requires this. -Valid values are \[lq]auto\[rq], \[lq]rebootmgr\[rq] and -\[lq]reboot\[rq]. +Valid values are \[lq]auto\[rq], \[lq]rebootmgr\[rq], \[lq]reboot\[rq] +and \[lq]none\[rq]. \[lq]auto\[rq] will use rebootmgr if installed and running, else \f[C]systemctl reboot\f[R]. +\[lq]none\[rq] will only print an informative message that a reboot is +required, but not trigger any. .TP RESTART_SERVICES=\[lq]yes\[rq] Specifies if after a successful update services should automatically restarted, if they are still using old libraries. .TP -IGNORE_SERVICES_FROM_RESTART=\[lq]udev dbus\[rq] +IGNORE_SERVICES_FROM_RESTART=\[lq]dbus\[rq] Specifies a list of services which should not be restarted .SH CONFIGURATION FILES .TP diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-update-1.4.2/src/os-update.8.md new/os-update-1.5/src/os-update.8.md --- old/os-update-1.4.2/src/os-update.8.md 2022-11-07 10:42:02.000000000 +0100 +++ new/os-update-1.5/src/os-update.8.md 2022-11-22 14:56:13.000000000 +0100 @@ -34,14 +34,16 @@ REBOOT_CMD="auto" : Specifies how the system will be rebooted in case an update requires -this. Valid values are "auto", "rebootmgr" and "reboot". "auto" will use -rebootmgr if installed and running, else `systemctl reboot`. +this. Valid values are "auto", "rebootmgr", "reboot" and "none". "auto" will +use rebootmgr if installed and running, else `systemctl reboot`. "none" will +only print an informative message that a reboot is required, but not trigger +any. RESTART_SERVICES="yes" : Specifies if after a successful update services should automatically restarted, if they are still using old libraries. -IGNORE_SERVICES_FROM_RESTART="udev dbus" +IGNORE_SERVICES_FROM_RESTART="dbus" : Specifies a list of services which should not be restarted # CONFIGURATION FILES diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-update-1.4.2/src/os-update.conf new/os-update-1.5/src/os-update.conf --- old/os-update-1.4.2/src/os-update.conf 2022-10-31 10:31:47.000000000 +0100 +++ new/os-update-1.5/src/os-update.conf 2022-11-22 14:56:01.000000000 +0100 @@ -1,4 +1,4 @@ UPDATE_CMD=auto REBOOT_CMD=auto RESTART_SERVICES=yes -IGNORE_SERVICES_FROM_RESTART="udev dbus" +IGNORE_SERVICES_FROM_RESTART="dbus" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/os-update-1.4.2/src/os-update.in new/os-update-1.5/src/os-update.in --- old/os-update-1.4.2/src/os-update.in 2022-11-04 07:22:53.000000000 +0100 +++ new/os-update-1.5/src/os-update.in 2022-11-22 14:55:46.000000000 +0100 @@ -22,7 +22,7 @@ UPDATE_CMD="auto" REBOOT_CMD="auto" RESTART_SERVICES="yes" -IGNORE_SERVICES_FROM_RESTART="udev dbus" +IGNORE_SERVICES_FROM_RESTART="dbus" # Additional variables per package manager ZYPPER_NONINTERACTIVE="-y --auto-agree-with-product-licenses" @@ -83,6 +83,9 @@ "reboot") systemctl reboot ;; + "no"|"none") + log_info "A reboot is required" + ;; esac fi }