summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarald Hoyer <harald@redhat.com>2013-03-14 17:52:44 +0100
committerHarald Hoyer <harald@redhat.com>2013-03-14 18:30:35 +0100
commit87dc81a1f69f20b9015b47d0935fa3b99dc54e5c (patch)
tree0889318019d81fc781826999fcf9834da64bd26c
parentce92ca0527fd004c23a997231a0a5e3c0ba0b89f (diff)
downloaddracut-87dc81a1f69f20b9015b47d0935fa3b99dc54e5c.tar.gz
dracut-87dc81a1f69f20b9015b47d0935fa3b99dc54e5c.tar.bz2
dracut-87dc81a1f69f20b9015b47d0935fa3b99dc54e5c.zip
dracut-install: handle more ldd errors
-rw-r--r--install/dracut-install.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/install/dracut-install.c b/install/dracut-install.c
index 8aa0e2e5..5040dea7 100644
--- a/install/dracut-install.c
+++ b/install/dracut-install.c
@@ -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;