prepare-root.sh: run systemd-hwdb update
This commit is contained in:
parent
89a4aa3771
commit
0777074a22
|
@ -583,6 +583,10 @@ ln -fsnr "$sysroot"/cfg/localtime "$sysroot"/etc/localtime
|
||||||
rm -f "$sysroot"/etc/machine-id
|
rm -f "$sysroot"/etc/machine-id
|
||||||
ln -fsnr "$sysroot"/cfg/machine-id "$sysroot"/etc/machine-id
|
ln -fsnr "$sysroot"/cfg/machine-id "$sysroot"/etc/machine-id
|
||||||
|
|
||||||
|
#---------------
|
||||||
|
# hwdb
|
||||||
|
chroot "$sysroot" /usr/bin/systemd-hwdb update
|
||||||
|
|
||||||
#---------------
|
#---------------
|
||||||
# adjtime
|
# adjtime
|
||||||
mv "$sysroot"/etc/adjtime "$sysroot"/usr/share/factory/cfg/adjtime
|
mv "$sysroot"/etc/adjtime "$sysroot"/usr/share/factory/cfg/adjtime
|
||||||
|
|
Loading…
Reference in a new issue