Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package zypp-boot-plugin for openSUSE:Factory checked in at 2024-06-06 12:30:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/zypp-boot-plugin (Old) and /work/SRC/openSUSE:Factory/.zypp-boot-plugin.new.24587 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "zypp-boot-plugin" Thu Jun 6 12:30:31 2024 rev:4 rq:1178681 version:0.0.9 Changes: -------- --- /work/SRC/openSUSE:Factory/zypp-boot-plugin/zypp-boot-plugin.changes 2024-02-22 21:02:55.180819344 +0100 +++ /work/SRC/openSUSE:Factory/.zypp-boot-plugin.new.24587/zypp-boot-plugin.changes 2024-06-06 12:30:39.436181278 +0200 @@ -1,0 +2,6 @@ +Wed Jun 5 07:49:32 UTC 2024 - Stefan Schubert <schubi@suse.com> + +- Update to version 0.0.9: +* Set reboot flag for multiversion packages ( type "M" ). + +------------------------------------------------------------------- Old: ---- zypp-boot-plugin-0.0.8.tar.xz New: ---- zypp-boot-plugin-0.0.9.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ zypp-boot-plugin.spec ++++++ --- /var/tmp/diff_new_pack.e57UQf/_old 2024-06-06 12:30:40.472219116 +0200 +++ /var/tmp/diff_new_pack.e57UQf/_new 2024-06-06 12:30:40.476219263 +0200 @@ -17,7 +17,7 @@ Name: zypp-boot-plugin -Version: 0.0.8 +Version: 0.0.9 Release: 0 Summary: Zypp plugin for checking if a reboot is needed License: AGPL-3.0-or-later ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.e57UQf/_old 2024-06-06 12:30:40.532221308 +0200 +++ /var/tmp/diff_new_pack.e57UQf/_new 2024-06-06 12:30:40.536221454 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/openSUSE/zypp-boot-plugin.git</param> - <param name="changesrevision">0ae8eced41d858355130eaaa2b28c1c399644c86</param></service></servicedata> + <param name="changesrevision">a1aaf793964246f4324a90d62063f929224e371f</param></service></servicedata> (No newline at EOF) ++++++ zypp-boot-plugin-0.0.8.tar.xz -> zypp-boot-plugin-0.0.9.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zypp-boot-plugin-0.0.8/NEWS new/zypp-boot-plugin-0.0.9/NEWS --- old/zypp-boot-plugin-0.0.8/NEWS 2024-02-22 16:45:46.000000000 +0100 +++ new/zypp-boot-plugin-0.0.9/NEWS 2024-06-05 09:46:28.000000000 +0200 @@ -1,3 +1,6 @@ +Version 0.0.9 +* Set reboot flag for multiversion packages ( type "M" ). + Version 0.0.8 * Do not overwrite higher bootlevel in already existing reboot-needed. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zypp-boot-plugin-0.0.8/meson.build new/zypp-boot-plugin-0.0.9/meson.build --- old/zypp-boot-plugin-0.0.8/meson.build 2024-02-22 16:45:46.000000000 +0100 +++ new/zypp-boot-plugin-0.0.9/meson.build 2024-06-05 09:46:28.000000000 +0200 @@ -1,5 +1,5 @@ project('zypp-boot_plugin', 'cpp', - version : '0.0.8', + version : '0.0.9', license : 'LGPLv3', default_options : [ 'buildtype=debugoptimized', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zypp-boot-plugin-0.0.8/src/zypp-boot-plugin.cc new/zypp-boot-plugin-0.0.9/src/zypp-boot-plugin.cc --- old/zypp-boot-plugin-0.0.8/src/zypp-boot-plugin.cc 2024-02-22 16:45:46.000000000 +0100 +++ new/zypp-boot-plugin-0.0.9/src/zypp-boot-plugin.cc 2024-06-05 09:46:28.000000000 +0200 @@ -200,7 +200,7 @@ continue; } const char * type_c = json_object_get_string(type); - if (strcmp(type_c, "+") != 0) { + if (strcmp(type_c, "+") != 0 && strcmp(type_c, "M") != 0) { cerr << "DEBUG:(boot-plugin):" << "ignoring type: " << type_c <<" in item #" << i << endl; continue; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zypp-boot-plugin-0.0.8/tests/kernel.protocol new/zypp-boot-plugin-0.0.9/tests/kernel.protocol --- old/zypp-boot-plugin-0.0.8/tests/kernel.protocol 1970-01-01 01:00:00.000000000 +0100 +++ new/zypp-boot-plugin-0.0.9/tests/kernel.protocol 2024-06-05 09:46:28.000000000 +0200 @@ -0,0 +1,16 @@ +COMMITEND + +{ +"TransactionStepList":[ +{ + "solvable":{ + "a":"x86_64", + "n":"aaa_base", + "r":"150400.163.1", + "v": "4.8.30" + }, + "stage":"ok", + "type":"M" +} +] +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zypp-boot-plugin-0.0.8/tests/meson.build new/zypp-boot-plugin-0.0.9/tests/meson.build --- old/zypp-boot-plugin-0.0.8/tests/meson.build 2024-02-22 16:45:46.000000000 +0100 +++ new/zypp-boot-plugin-0.0.9/tests/meson.build 2024-06-05 09:46:28.000000000 +0200 @@ -9,6 +9,9 @@ test('tst-provides', find_program(meson.current_source_dir() +'/tst_provides.sh'), env : ['ZYPP_BOOT_PLUGIN_CONFIG=../tests/zypp-boot-plugin.conf', 'ZYPP_BOOT_PLUGIN_REBOOT_FILE=./tst_provides.out']) +test('tst-kernel', find_program(meson.current_source_dir() +'/tst_kernel.sh'), + env : ['ZYPP_BOOT_PLUGIN_CONFIG=../tests/zypp-boot-plugin.conf', 'ZYPP_BOOT_PLUGIN_REBOOT_FILE=./tst_kernel.out']) + test('tst-multi', find_program(meson.current_source_dir() +'/tst_multi.sh'), env : ['ZYPP_BOOT_PLUGIN_CONFIG=../tests/zypp-boot-plugin.conf', 'ZYPP_BOOT_PLUGIN_REBOOT_FILE=./tst_multi.out']) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/zypp-boot-plugin-0.0.8/tests/tst_kernel.sh new/zypp-boot-plugin-0.0.9/tests/tst_kernel.sh --- old/zypp-boot-plugin-0.0.8/tests/tst_kernel.sh 1970-01-01 01:00:00.000000000 +0100 +++ new/zypp-boot-plugin-0.0.9/tests/tst_kernel.sh 2024-06-05 09:46:28.000000000 +0200 @@ -0,0 +1,9 @@ +#!/bin/bash + +if test -f "$ZYPP_BOOT_PLUGIN_REBOOT_FILE"; then + rm $ZYPP_BOOT_PLUGIN_REBOOT_FILE +fi + +# Installed kernel package with type M found by provides in configuration file +./boot-plugin <../tests/kernel.protocol +grep kexec $ZYPP_BOOT_PLUGIN_REBOOT_FILE