diff options
author | Harald Hoyer <harald@redhat.com> | 2013-03-14 17:52:44 +0100 |
---|---|---|
committer | Harald Hoyer <harald@redhat.com> | 2013-03-14 18:30:35 +0100 |
commit | 87dc81a1f69f20b9015b47d0935fa3b99dc54e5c (patch) | |
tree | 0889318019d81fc781826999fcf9834da64bd26c | |
parent | ce92ca0527fd004c23a997231a0a5e3c0ba0b89f (diff) | |
download | dracut-87dc81a1f69f20b9015b47d0935fa3b99dc54e5c.tar.gz dracut-87dc81a1f69f20b9015b47d0935fa3b99dc54e5c.tar.bz2 dracut-87dc81a1f69f20b9015b47d0935fa3b99dc54e5c.zip |
dracut-install: handle more ldd errors
-rw-r--r-- | install/dracut-install.c | 6 |
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; |