aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/postinst-intercepts/update_udev_hwdb
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/postinst-intercepts/update_udev_hwdb')
-rw-r--r--scripts/postinst-intercepts/update_udev_hwdb6
1 files changed, 6 insertions, 0 deletions
diff --git a/scripts/postinst-intercepts/update_udev_hwdb b/scripts/postinst-intercepts/update_udev_hwdb
new file mode 100644
index 0000000000..b5cce0a09d
--- /dev/null
+++ b/scripts/postinst-intercepts/update_udev_hwdb
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+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