12
0

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:
2025-07-08 12:45:35 +00:00
committed by Git OBS Bridge
parent c29caf25aa
commit 8ae5168ede
2 changed files with 4 additions and 5 deletions

View File

@@ -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 \

View File

@@ -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>