summaryrefslogtreecommitdiff
path: root/Meta/build-root-filesystem.sh
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2022-01-20 08:15:19 -0500
committerLinus Groh <mail@linusgroh.de>2022-01-23 12:48:26 +0000
commit6057a2ca30a2a94c7ff924cbdde6ac922d537fed (patch)
treef155ed57e7496d761a107c2c1babef2e99d51937 /Meta/build-root-filesystem.sh
parent2bdc3aec4222218a4058aaa7d93e04e5e635cbbd (diff)
downloadserenity-6057a2ca30a2a94c7ff924cbdde6ac922d537fed.zip
timezone: Add a command line utility to set the system time zone
Diffstat (limited to 'Meta/build-root-filesystem.sh')
-rwxr-xr-xMeta/build-root-filesystem.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/Meta/build-root-filesystem.sh b/Meta/build-root-filesystem.sh
index 8cc8be1112..fe26f63944 100755
--- a/Meta/build-root-filesystem.sh
+++ b/Meta/build-root-filesystem.sh
@@ -101,6 +101,10 @@ if [ -f mnt/bin/utmpupdate ]; then
chown 0:$utmp_gid mnt/bin/utmpupdate
chmod 2755 mnt/bin/utmpupdate
fi
+if [ -f mnt/bin/timezone ]; then
+ chown 0:$phys_gid mnt/bin/timezone
+ chmod 4750 mnt/bin/timezone
+fi
if [ -f mnt/usr/Tests/Kernel/TestMemoryDeviceMmap ]; then
chown 0:0 mnt/usr/Tests/Kernel/TestMemoryDeviceMmap
chmod 4755 mnt/usr/Tests/Kernel/TestMemoryDeviceMmap