dracut-install: handle more ldd errors
authorHarald Hoyer <harald@redhat.com>
Thu, 14 Mar 2013 16:52:44 +0000 (17:52 +0100)
committerHarald Hoyer <harald@redhat.com>
Thu, 14 Mar 2013 17:30:35 +0000 (18:30 +0100)
install/dracut-install.c

index 8aa0e2e..5040dea 100644 (file)
@@ -294,6 +294,12 @@ static int resolve_deps(const char *src)
                 if (strstr(buf, "not regular file"))
                         break;
 
+                if (strstr(buf, "cannot read header"))
+                        break;
+
+                if (strstr(buf, destrootdir))
+                        break;
+
                 p = strstr(buf, "/");
                 if (p) {
                         int r;