prepare-root.sh: turn localtime to absolute symlink in factory

This commit is contained in:
Harald Hoyer 2018-09-18 12:20:02 +02:00
parent 70a2d51fa4
commit a6973aa806

View file

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