summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Meeks <michael.meeks@collabora.com>2019-10-25 11:24:33 +0100
committerMichael Meeks <michael.meeks@collabora.com>2019-10-25 11:24:33 +0100
commitb0403c7d457935e137a2bbaf5574f8d7a181a5b7 (patch)
treef4ea9cc55e80640c0bf9cda5abd4406869f4dc77
parent2f534842cd13af298a0b7b126b389b018cefdfff (diff)
Copy linked /etc/localtime (and also timezone) into the systemplate.
Change-Id: I77fc24aa0f2fc94ee889a87bc10332c85ea57808
-rwxr-xr-xloolwsd-systemplate-setup3
1 files changed, 3 insertions, 0 deletions
diff --git a/loolwsd-systemplate-setup b/loolwsd-systemplate-setup
index 09d5265fc..2500beac4 100755
--- a/loolwsd-systemplate-setup
+++ b/loolwsd-systemplate-setup
@@ -28,6 +28,7 @@ find etc/hosts etc/nsswitch.conf etc/resolv.conf \
lib/libresolv* lib64/libresolv* lib/*/libresolv* \
var/cache/fontconfig \
etc/fonts \
+ etc/timezone \
etc/localtime \
usr/lib/locale/en_US.utf8 \
usr/lib/locale/C.UTF-8 \
@@ -40,6 +41,8 @@ find etc/hosts etc/nsswitch.conf etc/resolv.conf \
-type f 2>/dev/null
find etc/fonts \
+ etc/timezone \
+ etc/localtime \
etc/resolv.conf \
lib/ld-* lib64/ld-* \
lib/libnss_* lib64/libnss_* lib/*/libnss_* \