Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
2018-01-18 12:45:19 +03:00
parent ef48ea0bdd
commit f3439bb042
2 changed files with 47 additions and 37 deletions

12
udev-hwdb.hook Normal file
View File

@@ -0,0 +1,12 @@
[Trigger]
Type = File
Operation = Install
Operation = Upgrade
Operation = Remove
Target = usr/lib/udev/hwdb.d/*
Target = etc/udev/hwdb.d/*
[Action]
Description = Updating udev Hardware Database...
When = PostTransaction
Exec = /usr/bin/udevadm hwdb --update