Use link-local addresses between appliance and host (RHBZ#588763).
[libguestfs.git] / appliance / supermin-split.sh.in
index 94990dd..44cfe21 100755 (executable)
@@ -73,6 +73,10 @@ for path in $(find -not -name fakeroot.log); do
     if [ "$path" = "./init" -o "$file" = "guestfsd" ]; 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
@@ -107,8 +111,8 @@ for path in $(find -not -name fakeroot.log); do
 
     # Special case for libntfs-3g.so.*
     elif [[ "$file" =~ $p_libntfs3g ]]; then
-       [ -n "$libntfs3g_once" ] || echo "$dir/libntfs-3g.so.*" >&6
-       libntfs3g_once=1
+        [ -n "$libntfs3g_once" ] || echo "$dir/libntfs-3g.so.*" >&6
+        libntfs3g_once=1
 
     # libfoo-1.2.3.so
     elif [[ "$file" =~ $p_lib123so ]]; then