diff options
author | Richard Jones <rjones@redhat.com> | 2010-03-12 15:30:29 +0000 |
---|---|---|
committer | Richard Jones <rjones@redhat.com> | 2010-03-12 15:30:29 +0000 |
commit | dc8ddc36b3f23348ed4990b8b6a81bf0c763bc7e (patch) | |
tree | 1644db8f49a5532715d5dd8f50a80e81726f80a9 | |
parent | 82ce35c8f18003bb227a9dd3d2c4c912ce2148dc (diff) | |
download | febootstrap-dc8ddc36b3f23348ed4990b8b6a81bf0c763bc7e.tar.gz febootstrap-dc8ddc36b3f23348ed4990b8b6a81bf0c763bc7e.tar.xz febootstrap-dc8ddc36b3f23348ed4990b8b6a81bf0c763bc7e.zip |
Backport libguestfs exception for libntfs-3g.so.N to febootstrap.
This is a port of:
http://git.annexia.org/?p=libguestfs.git;a=commitdiff_plain;h=599f94c9c14c970dcfd7cec8d6898cd3b46af8ca
-rwxr-xr-x | febootstrap-to-supermin.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/febootstrap-to-supermin.sh b/febootstrap-to-supermin.sh index 5393ec7..086ee02 100755 --- a/febootstrap-to-supermin.sh +++ b/febootstrap-to-supermin.sh @@ -89,6 +89,7 @@ while read path <&7; 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]+)\.' @@ -134,6 +135,11 @@ while read path <&7; 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 |