From: Harald Hoyer Date: Mon, 14 Mar 2016 09:59:29 +0000 (+0100) Subject: dracut-install: catch ldd message "cannot execute binary file" X-Git-Tag: 045~192 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=b127294def5efecc27fac730f784f8bf03a5e52d;p=thirdparty%2Fdracut.git dracut-install: catch ldd message "cannot execute binary file" --- diff --git a/install/dracut-install.c b/install/dracut-install.c index a7bfdb8c3..8f65d8d13 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;