diff options
author | Yurii Kolesnykov | 2023-09-20 16:16:14 +0300 |
---|---|---|
committer | Yurii Kolesnykov | 2023-10-16 18:15:17 +0300 |
commit | 22d76052f49305f62b836ae28b31fd3a2fc7e0df (patch) | |
tree | b951b8aefecd4b87f3e42789cd97778f8a235a3a /systemd-hook | |
parent | 9cab3598b41b33278df201ada11b4f2323f95c01 (diff) | |
download | aur-22d76052f49305f62b836ae28b31fd3a2fc7e0df.tar.gz |
fix meson configure by explicitly disabling some features / deps
Signed-off-by: Yurii Kolesnykov <root@yurikoles.com>
Diffstat (limited to 'systemd-hook')
-rw-r--r-- | systemd-hook | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/systemd-hook b/systemd-hook index 4a62ec6c48df..63f27e0bd58a 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 |