2
0

Accepting request 918953 from home:mwilck:suse-module-tools

- Update to version 16.0.10:
  * Import kernel scriptlets from kernel-source (bsc#1189441)
  * README.md: document environment variables for weak-modules2

OBS-URL: https://build.opensuse.org/request/show/918953
OBS-URL: https://build.opensuse.org/package/show/Base:System/suse-module-tools?expand=0&rev=124
This commit is contained in:
Martin Wilck 2021-09-14 14:24:15 +00:00 committed by Git OBS Bridge
parent 642507f053
commit 474c35e193
6 changed files with 28 additions and 10 deletions

View File

@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/openSUSE/suse-module-tools.git</param>
<param name="changesrevision">532eddd0313f212550d81ad86dfac00b2eeb29fd</param></service></servicedata>
<param name="changesrevision">ee8753b4173b498e8912573c04e6c1e4d8e7f856</param></service></servicedata>

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c51659df0e7d5170ecc1239b98220a373ca70a5e251af58064f40e7f8536eee8
size 120331

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:66c4b34ad5f5a9e56b34451eb3bc9861fddfc7ddc334d590787ff3b3b7f3955b
size 103947

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Sep 14 14:14:39 UTC 2021 - Martin Wilck <mwilck@suse.com>
- Update to version 16.0.10:
* Import kernel scriptlets from kernel-source (bsc#1189441)
* README.md: document environment variables for weak-modules2
-------------------------------------------------------------------
Mon Aug 30 13:15:20 UTC 2021 - Martin Wilck <mwilck@suse.com>

View File

@ -1,5 +1,5 @@
name: suse-module-tools
version: 16.0.9
mtime: 1630329092
commit: 532eddd0313f212550d81ad86dfac00b2eeb29fd
version: 16.0.10
mtime: 1631625552
commit: ee8753b4173b498e8912573c04e6c1e4d8e7f856

View File

@ -45,7 +45,7 @@
%global modprobe_conf_rpmsave %(echo "%{modprobe_conf_files}" | sed 's,\\([^ ]*\\),%{_sysconfdir}/modprobe.d/\\1.conf.rpmsave,g')
Name: suse-module-tools
Version: 16.0.9
Version: 16.0.10
Release: 0
Summary: Configuration for module loading and SUSE-specific utilities for KMPs
License: GPL-2.0-or-later
@ -64,6 +64,7 @@ Requires: rpm
Requires(post): /usr/bin/grep
Requires(post): /usr/bin/sed
Requires(post): coreutils
Provides: suse-kernel-rpm-scriptlets = 0
# Use weak dependencies for dracut and kmod in order to
# keep Ring0 lean. In normal deployments, these packages
# will be available anyway.
@ -79,8 +80,7 @@ Conflicts: filesystem < 15.5-40.2
%description
This package contains helper scripts for KMP installation and
uninstallation, as well as default configuration files for depmod and
modprobe. These utilities are provided by kmod-compat or
module-init-tools, whichever implementation you choose to install.
modprobe.
%package legacy
@ -136,6 +136,17 @@ install -d -m 755 "%{buildroot}%{_rpmmacrodir}"
install -pm 644 "macros.initrd" "%{buildroot}%{_rpmmacrodir}"
%endif
install -pm 755 "regenerate-initrd-posttrans" "%{buildroot}/usr/lib/module-init-tools/"
install -d -m 755 "%{buildroot}/usr/lib/module-init-tools/kernel-scriptlets"
install -pm 755 "kernel-scriptlets/cert-script" "%{buildroot}/usr/lib/module-init-tools/kernel-scriptlets"
install -pm 755 "kernel-scriptlets/inkmp-script" "%{buildroot}/usr/lib/module-init-tools/kernel-scriptlets"
install -pm 755 "kernel-scriptlets/kmp-script" "%{buildroot}/usr/lib/module-init-tools/kernel-scriptlets"
install -pm 755 "kernel-scriptlets/rpm-script" "%{buildroot}/usr/lib/module-init-tools/kernel-scriptlets"
for i in "pre" "preun" "post" "posttrans" "postun" ; do
ln -s cert-script %{buildroot}/usr/lib/module-init-tools/kernel-scriptlets/cert-$i
ln -s inkmp-script %{buildroot}/usr/lib/module-init-tools/kernel-scriptlets/inkmp-$i
ln -s kmp-script %{buildroot}/usr/lib/module-init-tools/kernel-scriptlets/kmp-$i
ln -s rpm-script %{buildroot}/usr/lib/module-init-tools/kernel-scriptlets/rpm-$i
done
install -d -m 755 "%{buildroot}%{_prefix}/bin"
install -pm 755 kmp-install "%{buildroot}%{_bindir}/"