From: Michael Biebl Date: Thu, 18 Jul 2013 19:20:01 +0000 (+0200) Subject: Install a dpkg file trigger for /lib/udev/hwdb.d X-Git-Tag: debian/247.3-7+deb11u1~2313 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=fc0c2cfb83aa0c88b7d5220bca985141c3d9cdc8;p=systemd.git Install a dpkg file trigger for /lib/udev/hwdb.d Run udevadm hwdb --update automatically whenever a packages drops a file in that directory. --- diff --git a/debian/udev.postinst b/debian/udev.postinst index f7f124ead..c5971eb6c 100644 --- a/debian/udev.postinst +++ b/debian/udev.postinst @@ -213,6 +213,11 @@ case "$1" in abort-upgrade|abort-remove|abort-deconfigure) ;; + triggered) + update_hwdb + exit 0 + ;; + interfaces) write_interfaces_rules ;; diff --git a/debian/udev.triggers b/debian/udev.triggers new file mode 100644 index 000000000..79d7ec6fb --- /dev/null +++ b/debian/udev.triggers @@ -0,0 +1 @@ +interest /lib/udev/hwdb.d