]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
dracut-install: catch ldd message "cannot execute binary file"
authorHarald Hoyer <harald@redhat.com>
Mon, 14 Mar 2016 09:59:29 +0000 (10:59 +0100)
committerHarald Hoyer <harald@redhat.com>
Mon, 14 Mar 2016 09:59:29 +0000 (10:59 +0100)
install/dracut-install.c

index a7bfdb8c3765acac6668b3de6b14a437bf22ed76..8f65d8d1336aa7b9bfc85c7efb56b9363c7dee67 100644 (file)
@@ -393,6 +393,9 @@ static int resolve_deps(const char *src)
                        break;
 
                /* glibc */
+                if (strstr(buf, "cannot execute binary file"))
+                        break;
+
                 if (strstr(buf, "not a dynamic executable"))
                         break;