prepare-root.sh: run systemd-hwdb update

This commit is contained in:
Harald Hoyer 2018-11-02 18:18:01 +01:00
parent 89a4aa3771
commit 0777074a22

View file

@ -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