]> skyeroc.xyz Git - dgamelaunch/commitdiff
Copy /etc/localtime (so gremlins will steal intrinsics at appropriate times).
authorJilles Tjoelker <jilles@stack.nl>
Wed, 7 Jan 2004 14:53:08 +0000 (14:53 +0000)
committerJilles Tjoelker <jilles@stack.nl>
Wed, 7 Jan 2004 14:53:08 +0000 (14:53 +0000)
git-svn-id: svn://katsu.triplehelix.org/dgamelaunch/trunk@115 db0b04b0-f4d1-0310-9a6d-de3e77497b0e

dgl-create-chroot

index 9fdce0be00c179b26b03430bed609ee5fc52c3eb..a0d4505b97ae466e2ca20c37e27df32587321928 100755 (executable)
@@ -58,6 +58,9 @@ mkdir -p $chroot_path/bin $chroot_path/etc $chroot_path/var/mail
 echo "games:*:$shed_uid:$shed_gid:games:/nonexistent:" >$chroot_path/etc/passwd
 echo "games:*:$shed_gid:" >$chroot_path/etc/group
 
+# Time zone information, NetHack uses this
+[ -e /etc/localtime ] && cp /etc/localtime $chroot_path/etc
+
 # Dungeon directory setup
 mkdir -p $chroot_path/dgldir/inprogress
 mkdir -p $chroot_path/dgldir/rcfiles