Add hook and trigger to handle hwdb.d files
Adds a hook to check if /usr/lib/udev/hwdb.d is being modified. If so, triggers 'udevadm hwdb --root=. --update'. Closes: #9858 [via git-merge-pr]
This commit is contained in:
parent
24ab530c5e
commit
90b5c612ae
2 changed files with 35 additions and 0 deletions
|
@ -143,6 +143,12 @@ _EOF
|
|||
echo "export info_files=\"${info_files}\"" >> $tmpf
|
||||
fi
|
||||
fi
|
||||
#
|
||||
# Handle files in hwdb directory
|
||||
#
|
||||
if [ -d "${PKGDESTDIR}/usr/lib/udev/hwdb.d" ]; then
|
||||
_add_trigger hwdb.d-dir
|
||||
fi
|
||||
#
|
||||
# (Un)Register a shell in /etc/shells.
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue