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:

committed by
Jürgen Buchmüller

parent
24ab530c5e
commit
90b5c612ae
@@ -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.
|
||||
#
|
||||
|
Reference in New Issue
Block a user