summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-12-16 11:18:17 +0000
committerRichard Jones <rjones@redhat.com>2009-12-16 11:18:17 +0000
commit6cf624b0e0318b57725dec5712c9aba13a8ba740 (patch)
tree1980f8be488ef83d6d82b3aba28deccd861716a3
parent09e796a0f0257c6dde56a64312db891d450e1b9a (diff)
downloadfebootstrap-6cf624b0e0318b57725dec5712c9aba13a8ba740.tar.gz
febootstrap-6cf624b0e0318b57725dec5712c9aba13a8ba740.tar.xz
febootstrap-6cf624b0e0318b57725dec5712c9aba13a8ba740.zip
supermin: Special case handling for libbfd
Port equivalent change from libguestfs. The libbfd library has a constantly changing, non-standard and very long name, eg: /usr/lib64/libbfd-2.20.51.0.2-7.fc13.so Just add a special case to deal with this. This fixes the guestfs_strings command, which relies on the external strings binary which uses this library.
-rwxr-xr-xfebootstrap-to-supermin.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/febootstrap-to-supermin.sh b/febootstrap-to-supermin.sh
index 32fd593..7a2b48b 100755
--- a/febootstrap-to-supermin.sh
+++ b/febootstrap-to-supermin.sh
@@ -103,6 +103,10 @@ while read path <&7; do
elif [[ "$file" =~ '^ld-[.0-9]+\.so$' ]]; then
echo "$dir/ld-*.so" >&6
+ # Special case for libbfd
+ elif [[ "$file" =~ '^libbfd-.*\.so$' ]]; then
+ echo "$dir/libbfd-*.so" >&6
+
# libfoo-1.2.3.so
elif [[ "$file" =~ '^lib(.*)-[-.0-9]+\.so$' ]]; then
echo "$dir/lib${BASH_REMATCH[1]}-*.so" >&6