summaryrefslogtreecommitdiffstats
path: root/scripts/mk-images
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2008-11-18 11:36:57 -0500
committerPeter Jones <pjones@pjones2.localdomain>2008-11-18 11:36:57 -0500
commitb0788b10df5b82604792d650767a0e168cdf6b4b (patch)
tree6cec6e7abdecd2e938418b67bfc0b71271920e29 /scripts/mk-images
parenta4e20777e1e12df572adfd589b63edf881557869 (diff)
downloadanaconda-b0788b10df5b82604792d650767a0e168cdf6b4b.tar.gz
anaconda-b0788b10df5b82604792d650767a0e168cdf6b4b.tar.xz
anaconda-b0788b10df5b82604792d650767a0e168cdf6b4b.zip
Fix ld-*.so globbing for glibc-2.9 .
"ld-*.*.*.so" matches against ld-2.8.90.so but not ld-2.9.so, so the initrd in rawhide doesn't work today. Wooooo.
Diffstat (limited to 'scripts/mk-images')
-rwxr-xr-xscripts/mk-images3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/mk-images b/scripts/mk-images
index 856fe3e54..3b480cb4b 100755
--- a/scripts/mk-images
+++ b/scripts/mk-images
@@ -372,6 +372,9 @@ instbin() {
if [ -f ld-linux.so.2 ]; then
rm -f ld-linux.so.2
linker="$(ls -1 ld-*.*.*.so)"
+ if [ -z "$linker" ]; then
+ linker="$(ls -1 ld-*.*.so)"
+ fi
found=$(echo $linker | wc -l)
if [ $found -ne 1 ]; then
echo "Found too many dynamic linkers:" >&2