From a8f4e3a5f7e55459611ed32354670ee29eed8ba42e5e135d783fbe1ec3db0375 Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Mon, 29 Apr 2024 15:04:06 +0000 Subject: [PATCH] libkmod is in the libkmod2 package OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1515 --- systemd.changes | 2 +- systemd.spec | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/systemd.changes b/systemd.changes index a651137..ec40287 100644 --- a/systemd.changes +++ b/systemd.changes @@ -19,7 +19,7 @@ Mon Apr 22 09:20:36 UTC 2024 - Franck Bui ------------------------------------------------------------------- Mon Apr 8 15:45:46 UTC 2024 - Franck Bui -- systemd.spec: preparation for the next version of systemd (i.e. v256), libkmod +- systemd.spec: preparation for the next version of systemd (i.e. v256), libkmod2 will be dlopened hence explicitly require it now as it doesn't hurt with the current version. However don't recommend it from systemd by assuming that when module loading from PID1 is needed, udev is installed. diff --git a/systemd.spec b/systemd.spec index bff9c47..50d1685 100644 --- a/systemd.spec +++ b/systemd.spec @@ -1,5 +1,5 @@ # -# spec file +# spec file for package systemd # # Copyright (c) 2024 SUSE LLC # @@ -331,7 +331,7 @@ Requires: filesystem # kmod executable is needed by kmod-static-nodes.service Requires: kmod # By v256 libkmod will be dlopen()ed. -Requires: libkmod +Requires: libkmod2 %endif Requires: system-group-hardware Requires: group(kvm) @@ -341,7 +341,7 @@ Requires: group(lp) Requires(pre): group(kvm) Requires(post): sed Requires(post): coreutils -Requires(postun):coreutils +Requires(postun): coreutils # 'regenerate_initrd_post' macro is expanded during build, hence this BR. BuildRequires: suse-module-tools %if %{without bootstrap}