summaryrefslogtreecommitdiffstats
path: root/appliance
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-12-16 11:15:26 +0000
committerRichard Jones <rjones@redhat.com>2009-12-16 11:15:26 +0000
commit4b09663f01224c27f00376011022526437680078 (patch)
treea0272fece7978e7d1725b6d6aeafd456abefa30b /appliance
parent795cf46a03bbe6ca0cbbeb951b8aceaf6e29eaca (diff)
downloadlibguestfs-4b09663f01224c27f00376011022526437680078.tar.gz
libguestfs-4b09663f01224c27f00376011022526437680078.tar.xz
libguestfs-4b09663f01224c27f00376011022526437680078.zip
appliance: Special case handling for libbfd in the supermin appliance.
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.
Diffstat (limited to 'appliance')
-rwxr-xr-xappliance/supermin-split.sh.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/appliance/supermin-split.sh.in b/appliance/supermin-split.sh.in
index 61df8913..7b83afb0 100755
--- a/appliance/supermin-split.sh.in
+++ b/appliance/supermin-split.sh.in
@@ -74,6 +74,10 @@ for path in $(find -not -name fakeroot.log); 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