Include /etc/localtime from local machine in the supermin appliance.
authorRichard Jones <rjones@redhat.com>
Mon, 12 Apr 2010 17:56:32 +0000 (18:56 +0100)
committerRichard Jones <rjones@redhat.com>
Mon, 12 Apr 2010 17:56:32 +0000 (18:56 +0100)
This is a backport of libguestfs commit
508f1ee87e816bf6b6fc8e629ccbb2d61a971169.

febootstrap-to-supermin.sh

index 086ee02..eccf18e 100755 (executable)
@@ -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