From: Richard Jones Date: Mon, 12 Apr 2010 17:56:32 +0000 (+0100) Subject: Include /etc/localtime from local machine in the supermin appliance. X-Git-Tag: 2.7~1 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=3c9a5248737321d174aefcb9cb8251e1ab44c3fa;p=febootstrap.git Include /etc/localtime from local machine in the supermin appliance. This is a backport of libguestfs commit 508f1ee87e816bf6b6fc8e629ccbb2d61a971169. --- 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