- Drop systemd's dependency on udev (jsc#PM-2677)
In some environments (i.e. containers) udev is usually not necessary but pulls in unnecessary packages. OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=1162
This commit is contained in:
parent
d8f523db13
commit
ae537b29c3
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 4 13:10:30 UTC 2021 - Franck Bui <fbui@suse.com>
|
||||
|
||||
- Drop systemd's dependency on udev (jsc#PM-2677)
|
||||
|
||||
In some environments (i.e. containers) udev is usually not necessary
|
||||
but pulls in unnecessary packages.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 4 07:32:16 UTC 2021 - Franck Bui <fbui@suse.com>
|
||||
|
||||
|
@ -125,11 +125,9 @@ Provides: systemd = %{version}-%{release}
|
||||
Requires: aaa_base >= 13.2
|
||||
Requires: dbus-1 >= 1.4.0
|
||||
Requires: kbd
|
||||
Requires: kmod >= 15
|
||||
Requires: netcfg >= 11.5
|
||||
Requires: systemd-default-settings-branding
|
||||
Requires: systemd-presets-branding
|
||||
Requires: udev = %{version}-%{release}
|
||||
Requires: util-linux >= 2.27.1
|
||||
Requires: group(lock)
|
||||
# This Recommends because some symbols of libpcre2 are dlopen()ed by journalctl
|
||||
@ -272,6 +270,7 @@ This library provides several of the systemd C APIs:
|
||||
Summary: A rule-based device node and kernel event manager
|
||||
License: GPL-2.0-only
|
||||
URL: http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
|
||||
Requires: kmod
|
||||
Requires: system-group-hardware
|
||||
Requires: group(kvm)
|
||||
Requires(post): sed
|
||||
@ -1205,6 +1204,7 @@ fi
|
||||
%exclude %{_unitdir}/systemd-udev*.*
|
||||
%exclude %{_unitdir}/*.target.wants/systemd-udev*.*
|
||||
%exclude %{_unitdir}/initrd-udevadm-cleanup-db.service
|
||||
%exclude %{_unitdir}/kmod-static-nodes.service
|
||||
%exclude %{_unitdir}/systemd-nspawn@.service
|
||||
%if %{with machined}
|
||||
%exclude %{_prefix}/lib/systemd/systemd-machined
|
||||
@ -1552,6 +1552,7 @@ fi
|
||||
%endif
|
||||
%dir %{_unitdir}
|
||||
%{_prefix}/lib/systemd/systemd-udevd
|
||||
%{_unitdir}/kmod-static-nodes.service
|
||||
%{_unitdir}/systemd-udev*.service
|
||||
%{_unitdir}/systemd-udevd*.socket
|
||||
%{_unitdir}/initrd-udevadm-cleanup-db.service
|
||||
|
@ -1,3 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 4 13:10:30 UTC 2021 - Franck Bui <fbui@suse.com>
|
||||
|
||||
- Drop systemd's dependency on udev (jsc#PM-2677)
|
||||
|
||||
In some environments (i.e. containers) udev is usually not necessary
|
||||
but pulls in unnecessary packages.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 4 07:32:16 UTC 2021 - Franck Bui <fbui@suse.com>
|
||||
|
||||
|
@ -123,11 +123,9 @@ Provides: systemd = %{version}-%{release}
|
||||
Requires: aaa_base >= 13.2
|
||||
Requires: dbus-1 >= 1.4.0
|
||||
Requires: kbd
|
||||
Requires: kmod >= 15
|
||||
Requires: netcfg >= 11.5
|
||||
Requires: systemd-default-settings-branding
|
||||
Requires: systemd-presets-branding
|
||||
Requires: udev = %{version}-%{release}
|
||||
Requires: util-linux >= 2.27.1
|
||||
Requires: group(lock)
|
||||
# This Recommends because some symbols of libpcre2 are dlopen()ed by journalctl
|
||||
@ -270,6 +268,7 @@ This library provides several of the systemd C APIs:
|
||||
Summary: A rule-based device node and kernel event manager
|
||||
License: GPL-2.0-only
|
||||
URL: http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
|
||||
Requires: kmod
|
||||
Requires: system-group-hardware
|
||||
Requires: group(kvm)
|
||||
Requires(post): sed
|
||||
@ -1203,6 +1202,7 @@ fi
|
||||
%exclude %{_unitdir}/systemd-udev*.*
|
||||
%exclude %{_unitdir}/*.target.wants/systemd-udev*.*
|
||||
%exclude %{_unitdir}/initrd-udevadm-cleanup-db.service
|
||||
%exclude %{_unitdir}/kmod-static-nodes.service
|
||||
%exclude %{_unitdir}/systemd-nspawn@.service
|
||||
%if %{with machined}
|
||||
%exclude %{_prefix}/lib/systemd/systemd-machined
|
||||
@ -1550,6 +1550,7 @@ fi
|
||||
%endif
|
||||
%dir %{_unitdir}
|
||||
%{_prefix}/lib/systemd/systemd-udevd
|
||||
%{_unitdir}/kmod-static-nodes.service
|
||||
%{_unitdir}/systemd-udev*.service
|
||||
%{_unitdir}/systemd-udevd*.socket
|
||||
%{_unitdir}/initrd-udevadm-cleanup-db.service
|
||||
|
Loading…
Reference in New Issue
Block a user