Hello community, here is the log from the commit of package suse-module-tools for openSUSE:Factory checked in at 2020-11-10 13:38:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/suse-module-tools (Old) and /work/SRC/openSUSE:Factory/.suse-module-tools.new.11331 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "suse-module-tools" Tue Nov 10 13:38:25 2020 rev:38 rq:846084 version:15.3.5 Changes: -------- --- /work/SRC/openSUSE:Factory/suse-module-tools/suse-module-tools.changes 2020-08-31 16:47:29.212274035 +0200 +++ /work/SRC/openSUSE:Factory/.suse-module-tools.new.11331/suse-module-tools.changes 2020-11-10 13:39:10.832506031 +0100 @@ -1,0 +2,6 @@ +Mon Nov 02 17:03:42 UTC 2020 - mwi...@suse.com + +- Update to version 15.3.5: + * Skip coldplug for memory devices on ppc64le, using generator + +------------------------------------------------------------------- @@ -5,0 +12,6 @@ + +------------------------------------------------------------------- +Mon Aug 03 21:05:03 UTC 2020 - mwi...@suse.com + +- Update to version 15.3.4: + * rework dependencies to reduce system size for small OS Old: ---- suse-module-tools-15.3.4.tar.xz New: ---- suse-module-tools-15.3.5.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ suse-module-tools.spec ++++++ --- /var/tmp/diff_new_pack.e4aTEU/_old 2020-11-10 13:39:11.312505077 +0100 +++ /var/tmp/diff_new_pack.e4aTEU/_new 2020-11-10 13:39:11.316505070 +0100 @@ -28,7 +28,7 @@ %endif Name: suse-module-tools -Version: 15.3.4 +Version: 15.3.5 Release: 0 Summary: Configuration for module loading and SUSE-specific utilities for KMPs License: GPL-2.0-or-later @@ -128,6 +128,10 @@ # Not needed in SLE11, where sg is loaded via udev rule. install -d -m 755 "%{buildroot}%{modules_load_dir}" install -pm 644 sg.conf "%{buildroot}%{modules_load_dir}" +%ifarch ppc64le +install -d -m 755 %{buildroot}/usr/lib/systemd/system-generators +install -m 755 udev-trigger-generator %{buildroot}/usr/lib/systemd/system-generators +%endif mkdir -p %{buildroot}%{_defaultlicensedir} @@ -268,6 +272,9 @@ %{_unitdir}/systemd-sysctl.service.d %dir %{modules_load_dir} %{modules_load_dir}/sg.conf +%ifarch ppc64le +/usr/lib/systemd/system-generators +%endif %files legacy %defattr(-,root,root) ++++++ _service ++++++ --- /var/tmp/diff_new_pack.e4aTEU/_old 2020-11-10 13:39:11.344505014 +0100 +++ /var/tmp/diff_new_pack.e4aTEU/_new 2020-11-10 13:39:11.348505006 +0100 @@ -5,7 +5,7 @@ <param name="changesgenerate">enable</param> <param name="filename">suse-module-tools</param> <param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param> - <param name="versionrewrite-pattern">\+0$</param> + <param name="versionrewrite-pattern">\+[01]$</param> <param name="versionrewrite-replacement"></param> <param name="revision">master</param> <param name="exclude">*.rpmlintrc</param> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.e4aTEU/_old 2020-11-10 13:39:11.364504974 +0100 +++ /var/tmp/diff_new_pack.e4aTEU/_new 2020-11-10 13:39:11.364504974 +0100 @@ -1,4 +1,4 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/openSUSE/suse-module-tools.git</param> - <param name="changesrevision">241a1582698c6a7f96f877a5ec64f478fdf90c82</param></service></servicedata> \ No newline at end of file + <param name="changesrevision">31b83356f95d05bd06fbddc0e023635aa0fc50cd</param></service></servicedata> \ No newline at end of file ++++++ suse-module-tools-15.3.4.tar.xz -> suse-module-tools-15.3.5.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-module-tools-15.3.4/suse-module-tools.spec new/suse-module-tools-15.3.5/suse-module-tools.spec --- old/suse-module-tools-15.3.4/suse-module-tools.spec 2020-08-03 23:04:07.000000000 +0200 +++ new/suse-module-tools-15.3.5/suse-module-tools.spec 2020-11-04 21:25:21.000000000 +0100 @@ -28,7 +28,7 @@ %endif Name: suse-module-tools -Version: 15.3.4 +Version: 15.3.5 Release: 0 Summary: Configuration for module loading and SUSE-specific utilities for KMPs License: GPL-2.0-or-later @@ -128,6 +128,10 @@ # Not needed in SLE11, where sg is loaded via udev rule. install -d -m 755 "%{buildroot}%{modules_load_dir}" install -pm 644 sg.conf "%{buildroot}%{modules_load_dir}" +%ifarch ppc64le +install -d -m 755 %{buildroot}/usr/lib/systemd/system-generators +install -m 755 udev-trigger-generator %{buildroot}/usr/lib/systemd/system-generators +%endif mkdir -p %{buildroot}%{_defaultlicensedir} @@ -268,6 +272,9 @@ %{_unitdir}/systemd-sysctl.service.d %dir %{modules_load_dir} %{modules_load_dir}/sg.conf +%ifarch ppc64le +/usr/lib/systemd/system-generators +%endif %files legacy %defattr(-,root,root) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/suse-module-tools-15.3.4/udev-trigger-generator new/suse-module-tools-15.3.5/udev-trigger-generator --- old/suse-module-tools-15.3.4/udev-trigger-generator 1970-01-01 01:00:00.000000000 +0100 +++ new/suse-module-tools-15.3.5/udev-trigger-generator 2020-11-04 21:25:21.000000000 +0100 @@ -0,0 +1,32 @@ +#! /bin/bash +# Copyright (c) 2020 SUSE LLC +# SPDX-License-Identifier: GPL-2.0-or-later +# +# bsc#1174287: On PowerPC, exclude memory devices from udev coldplug +# +# This generator creates a drop-in for systemd-udev-trigger.service +# that overrides the default action, skipping coldplug for memory devices. + +export PATH=/usr/bin +# /tmp may not be writable yet. Use a different TMPDIR that's guaranteed +# to be writable. Needed for the "here-document" below. +export TMPDIR=/dev/shm +trap 'echo $0: error in "$BASH_COMMAND" >&2' ERR + +[[ $(uname -m) = ppc64le ]] || exit 0 +case $(systemd-detect-virt) in + none|powervm) ;; + *) exit 0;; +esac + +DIR=$1 +[[ $DIR && -d "$DIR" ]] +DROPIN="$DIR/systemd-udev-trigger.service.d" +mkdir -p "$DROPIN" +cat >"$DROPIN/30-skip-memory-devices.conf" <<EOF +# generated by $0 +[Service] +ExecStart= +ExecStart=/usr/bin/udevadm trigger --type=subsystems --action=add +ExecStart=/usr/bin/udevadm trigger --type=devices --action=add --subsystem-nomatch=memory +EOF