Blame 0034-dracut-install-catch-ldd-message-cannot-execute-bina.patch

Harald Hoyer b38677
From b127294def5efecc27fac730f784f8bf03a5e52d Mon Sep 17 00:00:00 2001
Harald Hoyer b38677
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer b38677
Date: Mon, 14 Mar 2016 10:59:29 +0100
Harald Hoyer b38677
Subject: [PATCH] dracut-install: catch ldd message "cannot execute binary
Harald Hoyer b38677
 file"
Harald Hoyer b38677
Harald Hoyer b38677
---
Harald Hoyer b38677
 install/dracut-install.c | 3 +++
Harald Hoyer b38677
 1 file changed, 3 insertions(+)
Harald Hoyer b38677
Harald Hoyer b38677
diff --git a/install/dracut-install.c b/install/dracut-install.c
Harald Hoyer b38677
index a7bfdb8..8f65d8d 100644
Harald Hoyer b38677
--- a/install/dracut-install.c
Harald Hoyer b38677
+++ b/install/dracut-install.c
Harald Hoyer b38677
@@ -393,6 +393,9 @@ static int resolve_deps(const char *src)
Harald Hoyer b38677
 			break;
Harald Hoyer b38677
 
Harald Hoyer b38677
 		/* glibc */
Harald Hoyer b38677
+                if (strstr(buf, "cannot execute binary file"))
Harald Hoyer b38677
+                        break;
Harald Hoyer b38677
+
Harald Hoyer b38677
                 if (strstr(buf, "not a dynamic executable"))
Harald Hoyer b38677
                         break;
Harald Hoyer b38677