prepare-root.sh: turn localtime to absolute symlink in factory
This commit is contained in:
parent
70a2d51fa4
commit
a6973aa806
|
@ -376,7 +376,7 @@ echo 'LANG=en_US.UTF-8' > "$sysroot"/usr/share/factory/cfg/locale.conf
|
||||||
|
|
||||||
#---------------
|
#---------------
|
||||||
# localtime
|
# localtime
|
||||||
mv "$sysroot"/etc/localtime "$sysroot"/usr/share/factory/cfg/localtime
|
ln -s /usr/share/zoneinfo/GMT "$sysroot"/usr/share/factory/cfg/localtime
|
||||||
ln -fsnr "$sysroot"/cfg/localtime "$sysroot"/etc/localtime
|
ln -fsnr "$sysroot"/cfg/localtime "$sysroot"/etc/localtime
|
||||||
|
|
||||||
#---------------
|
#---------------
|
||||||
|
|
Loading…
Reference in a new issue