X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=appliance%2Fsupermin-split.sh.in;h=44cfe21723d94c7c927dfc5f8ae27f27dc8b8462;hp=cd29b8aa42506b6db041fa32df7b24effb4e09b2;hb=216557b1ebc013701e7474720bc1280f43e51bb1;hpb=4891ff9945177e8666af8381d1e0a54b8ce363e2 diff --git a/appliance/supermin-split.sh.in b/appliance/supermin-split.sh.in index cd29b8a..44cfe21 100755 --- a/appliance/supermin-split.sh.in +++ b/appliance/supermin-split.sh.in @@ -63,6 +63,7 @@ for path in $(find -not -name fakeroot.log); do p_ld_so='^ld-[.0-9]+\.so$' p_libbfd='^libbfd-.*\.so$' p_libgcc='^libgcc_s-.*\.so\.([0-9]+)$' + p_libntfs3g='^libntfs-3g\.so\..*$' p_lib123so='^lib(.*)-[-.0-9]+\.so$' p_lib123so123='^lib(.*)-[-.0-9]+\.so\.([0-9]+)\.' p_libso123='^lib(.*)\.so\.([0-9]+)\.' @@ -72,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 @@ -104,6 +109,11 @@ for path in $(find -not -name fakeroot.log); do elif [[ "$file" =~ $p_libgcc ]]; then echo "$dir/libgcc_s-*.so.${BASH_REMATCH[1]}" >&6 + # Special case for libntfs-3g.so.* + elif [[ "$file" =~ $p_libntfs3g ]]; then + [ -n "$libntfs3g_once" ] || echo "$dir/libntfs-3g.so.*" >&6 + libntfs3g_once=1 + # libfoo-1.2.3.so elif [[ "$file" =~ $p_lib123so ]]; then echo "$dir/lib${BASH_REMATCH[1]}-*.so" >&6