Rename %udevadm_reload_and_trigger into %udev_trigger_with_reload
OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd-rpm-macros?expand=0&rev=106
This commit is contained in:
@@ -227,7 +227,7 @@ fi \
|
||||
# Note2: This is suboptimal when multiple events need to be triggered, as it
|
||||
# results in multiple reloads of the rule files.
|
||||
#
|
||||
%udevadm_reload_and_trigger(-) \
|
||||
%udev_trigger_with_reload(-) \
|
||||
if [ -e /run/udev/control ]; then \
|
||||
/usr/bin/udevadm control --reload && /usr/bin/udevadm trigger %{?*} || : \
|
||||
fi \
|
||||
|
@@ -1,10 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 7 15:56:08 UTC 2025 - Franck Bui <fbui@suse.com>
|
||||
|
||||
- Introduce %udevadm_reload_and_trigger() for packages that need to trigger
|
||||
event in theirs scriplets. The new macro automatically triggers a reload of
|
||||
the udev rule files as this step is often overlooked by packages
|
||||
(bsc#1237143).
|
||||
- Introduce %udev_trigger_with_reload() for packages that need to trigger events
|
||||
in theirs scriplets. The new macro automatically triggers a reload of the udev
|
||||
rule files as this step is often overlooked by packages (bsc#1237143).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 24 08:41:48 UTC 2023 - Franck Bui <fbui@suse.com>
|
||||
|
Reference in New Issue
Block a user