prepare-root.sh: run systemd-hwdb update
This commit is contained in:
parent
89a4aa3771
commit
0777074a22
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue