dracut/0034-dracut-install-catch-ldd-message-cannot-execute-bina.patch
Harald Hoyer b386772815 dracut-044-75
- fix for systemd >= 230
- git snapshot
2016-06-07 10:24:44 +02:00

25 lines
742 B
Diff

From b127294def5efecc27fac730f784f8bf03a5e52d Mon Sep 17 00:00:00 2001
From: Harald Hoyer <harald@redhat.com>
Date: Mon, 14 Mar 2016 10:59:29 +0100
Subject: [PATCH] dracut-install: catch ldd message "cannot execute binary
file"
---
install/dracut-install.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/install/dracut-install.c b/install/dracut-install.c
index a7bfdb8..8f65d8d 100644
--- a/install/dracut-install.c
+++ b/install/dracut-install.c
@@ -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;