From 0777074a220b2186d29c983affe0d0cc803b2de6 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Fri, 2 Nov 2018 18:18:01 +0100 Subject: [PATCH] prepare-root.sh: run systemd-hwdb update --- prepare-root.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/prepare-root.sh b/prepare-root.sh index 6371974..3a46b7c 100755 --- a/prepare-root.sh +++ b/prepare-root.sh @@ -583,6 +583,10 @@ ln -fsnr "$sysroot"/cfg/localtime "$sysroot"/etc/localtime rm -f "$sysroot"/etc/machine-id ln -fsnr "$sysroot"/cfg/machine-id "$sysroot"/etc/machine-id +#--------------- +# hwdb +chroot "$sysroot" /usr/bin/systemd-hwdb update + #--------------- # adjtime mv "$sysroot"/etc/adjtime "$sysroot"/usr/share/factory/cfg/adjtime