From 7beaf185f7792e28e819ddc751cdebbcf1cbd47577f354ab24b2fd384793202f Mon Sep 17 00:00:00 2001 From: Franck Bui Date: Wed, 20 Dec 2023 12:58:01 +0000 Subject: [PATCH] Accepting request 1134210 from home:dimstar:Factory - 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/request/show/1134210 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 fa6380e7..143ed472 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 606d88df..daba32a2 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)