summaryrefslogtreecommitdiffstats
path: root/scripts/postinst-intercepts/update_udev_hwdb
blob: c4fb2bffcbf06b35e7ae61ca9310f46c8f8f6463 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh
#
# SPDX-License-Identifier: MIT
#

set -e

PSEUDO_UNLOAD=1 ${binprefix}qemuwrapper -L $D $D${libexecdir}/${binprefix}udevadm hwdb --update --root $D
chown root:root $D${sysconfdir}/udev/hwdb.bin