forked from pool/suse-module-tools
Accepting request 1104072 from home:mwilck:suse-module-tools
- Update to version 16.0.33: * change wording in filesystem blacklist files (gh#openSUSE/suse-module-tools#71) * rpm-script: update bootloader after creating initramfs (boo#1213822) * usrmerge: Drop support for non-usrmerged (boo#1206798) OBS-URL: https://build.opensuse.org/request/show/1104072 OBS-URL: https://build.opensuse.org/package/show/Base:System/suse-module-tools?expand=0&rev=161
This commit is contained in:
parent
343b7c6b1f
commit
c5f935da47
@ -1,4 +1,4 @@
|
|||||||
<servicedata>
|
<servicedata>
|
||||||
<service name="tar_scm">
|
<service name="tar_scm">
|
||||||
<param name="url">https://github.com/openSUSE/suse-module-tools.git</param>
|
<param name="url">https://github.com/openSUSE/suse-module-tools.git</param>
|
||||||
<param name="changesrevision">eecfaab275ec7a166a6fefebadd884a0bec0b8e3</param></service></servicedata>
|
<param name="changesrevision">68458f207a240eccc77fe87f2b947fcd6a01eaa1</param></service></servicedata>
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:75aec3cf8740ab246fb0e6a81cb03e4f765ac3a398519b818d173f15e269996f
|
|
||||||
size 125451
|
|
3
suse-module-tools-16.0.33.obscpio
Normal file
3
suse-module-tools-16.0.33.obscpio
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e7d47e09d03264d84d9124fbf102315f4454b0e26aa319477ae1cce1f067e3ad
|
||||||
|
size 122891
|
@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Aug 15 16:12:13 UTC 2023 - Martin Wilck <mwilck@suse.com>
|
||||||
|
|
||||||
|
- Update to version 16.0.33:
|
||||||
|
* change wording in filesystem blacklist files
|
||||||
|
(gh#openSUSE/suse-module-tools#71)
|
||||||
|
* rpm-script: update bootloader after creating initramfs
|
||||||
|
(boo#1213822)
|
||||||
|
* usrmerge: Drop support for non-usrmerged (boo#1206798)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Jul 3 19:37:53 UTC 2023 - Martin Wilck <mwilck@suse.com>
|
Mon Jul 3 19:37:53 UTC 2023 - Martin Wilck <mwilck@suse.com>
|
||||||
|
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
name: suse-module-tools
|
name: suse-module-tools
|
||||||
version: 16.0.32
|
version: 16.0.33
|
||||||
mtime: 1688412950
|
mtime: 1692108558
|
||||||
commit: eecfaab275ec7a166a6fefebadd884a0bec0b8e3
|
commit: 68458f207a240eccc77fe87f2b947fcd6a01eaa1
|
||||||
|
@ -15,24 +15,15 @@
|
|||||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# missing in SLE15 (systemd-rpm-macros)
|
|
||||||
%{!?_modulesloaddir: %global _modulesloaddir /usr/lib/modules-load.d}
|
|
||||||
|
|
||||||
# Location for modprobe and depmod .conf files
|
# Location for modprobe and depmod .conf files
|
||||||
#
|
#
|
||||||
# This assumes post-usr-merge (20210527) for Tumbleweed
|
# This assumes post-usr-merge (20210527) for Tumbleweed
|
||||||
%if 0%{?suse_version} >= 1550
|
|
||||||
%global modprobe_dir /usr/lib/modprobe.d
|
%global modprobe_dir /usr/lib/modprobe.d
|
||||||
%global depmod_dir /usr/lib/depmod.d
|
%global depmod_dir /usr/lib/depmod.d
|
||||||
%global with_kernel_sysctl 1
|
%global with_kernel_sysctl 1
|
||||||
# boot_sysctl may be dropped on TW when we can assume that nobody keeps
|
# boot_sysctl may be dropped on TW when we can assume that nobody keeps
|
||||||
# kernel packages around that store sysctl files under /boot
|
# kernel packages around that store sysctl files under /boot
|
||||||
%bcond_without boot_sysctl
|
%bcond_without boot_sysctl
|
||||||
%else
|
|
||||||
%global modprobe_dir /lib/modprobe.d
|
|
||||||
%global depmod_dir /lib/depmod.d
|
|
||||||
%global with_boot_sysctl 1
|
|
||||||
%endif
|
|
||||||
%global sysctl_dropin %{_unitdir}/systemd-sysctl.service.d/50-kernel-uname_r.conf
|
%global sysctl_dropin %{_unitdir}/systemd-sysctl.service.d/50-kernel-uname_r.conf
|
||||||
%global systemd_units %{?with_boot_sysctl:boot-sysctl.service} %{?with_kernel_sysctl:kernel-sysctl.service}
|
%global systemd_units %{?with_boot_sysctl:boot-sysctl.service} %{?with_kernel_sysctl:kernel-sysctl.service}
|
||||||
|
|
||||||
@ -45,7 +36,7 @@
|
|||||||
%global modprobe_conf_rpmsave %(echo "%{modprobe_conf_files}" | sed 's,\\([^ ]*\\),%{_sysconfdir}/modprobe.d/\\1.conf.rpmsave,g')
|
%global modprobe_conf_rpmsave %(echo "%{modprobe_conf_files}" | sed 's,\\([^ ]*\\),%{_sysconfdir}/modprobe.d/\\1.conf.rpmsave,g')
|
||||||
|
|
||||||
Name: suse-module-tools
|
Name: suse-module-tools
|
||||||
Version: 16.0.32
|
Version: 16.0.33
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Configuration for module loading and SUSE-specific utilities for KMPs
|
Summary: Configuration for module loading and SUSE-specific utilities for KMPs
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
@ -64,9 +55,6 @@ Requires: rpm
|
|||||||
Requires(post): /usr/bin/grep
|
Requires(post): /usr/bin/grep
|
||||||
Requires(post): /usr/bin/sed
|
Requires(post): /usr/bin/sed
|
||||||
Requires(post): coreutils
|
Requires(post): coreutils
|
||||||
%if 0%{?suse_version} < 1550
|
|
||||||
Provides: suse-kernel-rpm-scriptlets = 0
|
|
||||||
%endif
|
|
||||||
Provides: udev-extra-rules = 0.3.0
|
Provides: udev-extra-rules = 0.3.0
|
||||||
Obsoletes: udev-extra-rules < 0.3.0
|
Obsoletes: udev-extra-rules < 0.3.0
|
||||||
Provides: system-tuning-common-SUSE = 0.3.0
|
Provides: system-tuning-common-SUSE = 0.3.0
|
||||||
@ -79,9 +67,7 @@ Recommends: kmod
|
|||||||
# This release requires the dracut module 90nvdimm
|
# This release requires the dracut module 90nvdimm
|
||||||
Conflicts: dracut < 49.1
|
Conflicts: dracut < 49.1
|
||||||
# TW: conflict with pre-usrmerge
|
# TW: conflict with pre-usrmerge
|
||||||
%if 0%{?suse_version} >= 1550
|
Conflicts: filesystem < 16
|
||||||
Conflicts: filesystem < 15.5-40.2
|
|
||||||
%endif
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
This package contains helper scripts for KMP installation and
|
This package contains helper scripts for KMP installation and
|
||||||
@ -89,7 +75,6 @@ uninstallation, as well as default configuration files for depmod and
|
|||||||
modprobe.
|
modprobe.
|
||||||
|
|
||||||
|
|
||||||
%if 0%{?suse_version} >= 1550
|
|
||||||
%package scriptlets
|
%package scriptlets
|
||||||
Summary: Kernel rpm scriptlets
|
Summary: Kernel rpm scriptlets
|
||||||
Provides: suse-kernel-rpm-scriptlets = 0
|
Provides: suse-kernel-rpm-scriptlets = 0
|
||||||
@ -98,7 +83,6 @@ Provides: suse-module-tools:/usr/lib/module-init-tools/kernel-scriptlets
|
|||||||
|
|
||||||
%description scriptlets
|
%description scriptlets
|
||||||
Scripts called by the SUSE kernel packages on installation
|
Scripts called by the SUSE kernel packages on installation
|
||||||
%endif
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
@ -109,20 +93,7 @@ sed -i 's/@FS_BLACKLIST@.*/%{fs_blacklist}/' README.md
|
|||||||
%install
|
%install
|
||||||
install -d -m 755 "%{buildroot}%{modprobe_dir}"
|
install -d -m 755 "%{buildroot}%{modprobe_dir}"
|
||||||
install -d -m 755 "%{buildroot}%{_sysconfdir}/modprobe.d"
|
install -d -m 755 "%{buildroot}%{_sysconfdir}/modprobe.d"
|
||||||
# keep /etc clean on Tumbleweed
|
|
||||||
%if 0%{?suse_version} < 1550
|
|
||||||
cat > "%{buildroot}%{_sysconfdir}/modprobe.d/README" <<EOF
|
|
||||||
Local configuration for modprobe(8)
|
|
||||||
===================================
|
|
||||||
|
|
||||||
The distribution-provided modprobe configuration files have moved to %{modprobe_dir}.
|
|
||||||
To modify the configuration, copy files from %{modprobe_dir} to this directory
|
|
||||||
(%{_sysconfdir}/modprobe.d) and edit them here.
|
|
||||||
|
|
||||||
See also %{modprobe_dir}/README, %{_defaultdocdir}/%{name}/README.md, and the
|
|
||||||
man page modprobe.d(5).
|
|
||||||
EOF
|
|
||||||
%endif
|
|
||||||
install -pm644 -t "%{buildroot}%{modprobe_dir}" modprobe.conf/common/*.conf
|
install -pm644 -t "%{buildroot}%{modprobe_dir}" modprobe.conf/common/*.conf
|
||||||
if [ -d modprobe.conf/%{_arch} ]; then
|
if [ -d modprobe.conf/%{_arch} ]; then
|
||||||
install -pm644 -t "%{buildroot}%{modprobe_dir}" modprobe.conf/%{_arch}/*.conf
|
install -pm644 -t "%{buildroot}%{modprobe_dir}" modprobe.conf/%{_arch}/*.conf
|
||||||
@ -142,14 +113,6 @@ install -pm 644 "depmod-00-system.conf" "%{buildroot}%{depmod_dir}/00-system.con
|
|||||||
install -d -m 755 "%{buildroot}/usr/lib/module-init-tools"
|
install -d -m 755 "%{buildroot}/usr/lib/module-init-tools"
|
||||||
install -pm 755 -t "%{buildroot}/usr/lib/module-init-tools/" \
|
install -pm 755 -t "%{buildroot}/usr/lib/module-init-tools/" \
|
||||||
weak-modules2 driver-check.sh unblacklist lsinitrd-quick
|
weak-modules2 driver-check.sh unblacklist lsinitrd-quick
|
||||||
|
|
||||||
%if 0%{?suse_version} < 1550
|
|
||||||
# rpm macros and helper
|
|
||||||
# The RPM Macros have been moved to the package rpm-config-SUSE after CODE15, thus are no longer
|
|
||||||
# shipped here
|
|
||||||
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 -pm 755 "regenerate-initrd-posttrans" "%{buildroot}/usr/lib/module-init-tools/"
|
||||||
install -d -m 755 "%{buildroot}/usr/lib/module-init-tools/kernel-scriptlets"
|
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/cert-script" "%{buildroot}/usr/lib/module-init-tools/kernel-scriptlets"
|
||||||
@ -192,13 +155,12 @@ install -pm 644 udevrules/*.rules %{buildroot}%{_udevrulesdir}
|
|||||||
|
|
||||||
mkdir -p %{buildroot}%{_defaultlicensedir}
|
mkdir -p %{buildroot}%{_defaultlicensedir}
|
||||||
|
|
||||||
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150100
|
|
||||||
for mod in %{fs_blacklist}; do
|
for mod in %{fs_blacklist}; do
|
||||||
echo "\
|
echo "\
|
||||||
# DO NOT EDIT THIS FILE!
|
# DO NOT EDIT THIS FILE!
|
||||||
#
|
#
|
||||||
# The $mod file system is blacklisted by default because it isn't actively
|
# The $mod file system is blacklisted by default because it isn't actively
|
||||||
# supported by SUSE, not well maintained, or may have security vulnerabilites.
|
# supported by SUSE.
|
||||||
blacklist $mod
|
blacklist $mod
|
||||||
# The filesystem can be un-blacklisted by running \"modprobe $mod\".
|
# The filesystem can be un-blacklisted by running \"modprobe $mod\".
|
||||||
# See README.md in the %{name} package for details.
|
# See README.md in the %{name} package for details.
|
||||||
@ -206,7 +168,6 @@ install $mod /usr/lib/module-init-tools/unblacklist $mod; /sbin/modprobe --ignor
|
|||||||
" \
|
" \
|
||||||
>%{buildroot}%{modprobe_dir}/60-blacklist_fs-"$mod".conf
|
>%{buildroot}%{modprobe_dir}/60-blacklist_fs-"$mod".conf
|
||||||
done
|
done
|
||||||
%endif
|
|
||||||
|
|
||||||
%pre
|
%pre
|
||||||
%service_add_pre %{systemd_units}
|
%service_add_pre %{systemd_units}
|
||||||
@ -259,10 +220,6 @@ exit 0
|
|||||||
%dir %{_sysconfdir}/modprobe.d
|
%dir %{_sysconfdir}/modprobe.d
|
||||||
%{depmod_dir}
|
%{depmod_dir}
|
||||||
%dir %{_sysconfdir}/depmod.d
|
%dir %{_sysconfdir}/depmod.d
|
||||||
%if 0%{?suse_version} < 1550
|
|
||||||
%{_sysconfdir}/modprobe.d/README
|
|
||||||
%{_rpmmacrodir}/macros.initrd
|
|
||||||
%endif
|
|
||||||
%{_bindir}/kmp-install
|
%{_bindir}/kmp-install
|
||||||
%dir /usr/lib/module-init-tools
|
%dir /usr/lib/module-init-tools
|
||||||
/usr/lib/module-init-tools/driver-check.sh
|
/usr/lib/module-init-tools/driver-check.sh
|
||||||
@ -278,9 +235,7 @@ exit 0
|
|||||||
/usr/lib/systemd/system-generators
|
/usr/lib/systemd/system-generators
|
||||||
%endif
|
%endif
|
||||||
#
|
#
|
||||||
%if 0%{?suse_version} >= 1550
|
|
||||||
%files scriptlets
|
%files scriptlets
|
||||||
%endif
|
|
||||||
/usr/lib/module-init-tools/kernel-scriptlets
|
/usr/lib/module-init-tools/kernel-scriptlets
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user