summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2010-04-12 18:56:32 +0100
committerRichard Jones <rjones@redhat.com>2010-04-12 18:56:32 +0100
commit3c9a5248737321d174aefcb9cb8251e1ab44c3fa (patch)
tree48046ec2d17425aeb76bafd71d43c63b9cd63dbc
parentdc8ddc36b3f23348ed4990b8b6a81bf0c763bc7e (diff)
downloadfebootstrap-3c9a5248737321d174aefcb9cb8251e1ab44c3fa.tar.gz
febootstrap-3c9a5248737321d174aefcb9cb8251e1ab44c3fa.tar.xz
febootstrap-3c9a5248737321d174aefcb9cb8251e1ab44c3fa.zip
Include /etc/localtime from local machine in the supermin appliance.
This is a backport of libguestfs commit 508f1ee87e816bf6b6fc8e629ccbb2d61a971169.
-rwxr-xr-xfebootstrap-to-supermin.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/febootstrap-to-supermin.sh b/febootstrap-to-supermin.sh
index 086ee02..eccf18e 100755
--- a/febootstrap-to-supermin.sh
+++ b/febootstrap-to-supermin.sh
@@ -103,6 +103,10 @@ while read path <&7; do
elif [ "$path" = "./init" ]; then
echo "$path" >&5
+ # Get timezone configuration from local system.
+ elif [ "$path" = "./etc/localtime" ]; then
+ echo "$path" >&6
+
elif [[ "$path" =~ $p_etc || "$path" =~ $p_dev || "$path" =~ $p_var ]]
then
echo "$path" >&5