From 22d76052f49305f62b836ae28b31fd3a2fc7e0df Mon Sep 17 00:00:00 2001 From: Yurii Kolesnykov Date: Wed, 20 Sep 2023 16:16:14 +0300 Subject: fix meson configure by explicitly disabling some features / deps Signed-off-by: Yurii Kolesnykov --- systemd-hook | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'systemd-hook') diff --git a/systemd-hook b/systemd-hook index 4a62ec6..63f27e0 100644 --- a/systemd-hook +++ b/systemd-hook @@ -17,7 +17,7 @@ systemd_live() { udevd_live() { is_chrooted - if [ ! -d /run/udev ]; then + if [ ! -S /run/udev/control ]; then echo >&2 " Skipped: Device manager is not running." exit 0 fi @@ -49,8 +49,10 @@ case "$op" in udev-reload) udevd_live /usr/bin/udevadm control --reload - /usr/bin/udevadm trigger - /usr/bin/udevadm settle + if [ ! -e /etc/systemd/do-not-udevadm-trigger-on-update ]; then + /usr/bin/udevadm trigger -c change + /usr/bin/udevadm settle + fi ;; binfmt) systemd_live -- cgit v1.2.3-70-g09d2