From 27ed0cd29b350d2741f97e2fc04ae7b64a6b88d708e4d2fe8f803261bf1cd1c7 Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Wed, 20 Dec 2023 12:58:01 +0000 Subject: [PATCH] - udev: only require kmod in the full flavor. udev-mini is only used inside OBS in a strictly defined setup and udev will never have to load device drivers there. This should allow us to remove system-module-tools from almost all buildroots. OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1478 --- systemd.changes | 7 +++++++ systemd.spec | 2 ++ 2 files changed, 9 insertions(+) diff --git a/systemd.changes b/systemd.changes index fa6380e..143ed47 100644 --- a/systemd.changes +++ b/systemd.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Dec 20 12:49:09 UTC 2023 - Dominique Leuenberger + +- udev: only require kmod in the full flavor. udev-mini is only + used inside OBS in a strictly defined setup and udev will never + have to load device drivers there. + ------------------------------------------------------------------- Wed Dec 20 12:40:55 UTC 2023 - Franck Bui diff --git a/systemd.spec b/systemd.spec index 606d88d..daba32a 100644 --- a/systemd.spec +++ b/systemd.spec @@ -306,7 +306,9 @@ URL: http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html Requires: %{name} = %{version}-%{release} %systemd_requires Requires: filesystem +%if %{without bootstrap} Requires: kmod +%endif Requires: system-group-hardware Requires: group(kvm) Requires: group(lp)