Blame 0037-dracut-install-handle-more-ldd-errors.patch
|
Harald Hoyer |
61c497 |
From 87dc81a1f69f20b9015b47d0935fa3b99dc54e5c Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
61c497 |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
61c497 |
Date: Thu, 14 Mar 2013 17:52:44 +0100
|
|
Harald Hoyer |
61c497 |
Subject: [PATCH] dracut-install: handle more ldd errors
|
|
Harald Hoyer |
61c497 |
|
|
Harald Hoyer |
61c497 |
---
|
|
Harald Hoyer |
61c497 |
install/dracut-install.c | 6 ++++++
|
|
Harald Hoyer |
61c497 |
1 file changed, 6 insertions(+)
|
|
Harald Hoyer |
61c497 |
|
|
Harald Hoyer |
61c497 |
diff --git a/install/dracut-install.c b/install/dracut-install.c
|
|
Harald Hoyer |
61c497 |
index 8aa0e2e..5040dea 100644
|
|
Harald Hoyer |
61c497 |
--- a/install/dracut-install.c
|
|
Harald Hoyer |
61c497 |
+++ b/install/dracut-install.c
|
|
Harald Hoyer |
61c497 |
@@ -294,6 +294,12 @@ static int resolve_deps(const char *src)
|
|
Harald Hoyer |
61c497 |
if (strstr(buf, "not regular file"))
|
|
Harald Hoyer |
61c497 |
break;
|
|
Harald Hoyer |
61c497 |
|
|
Harald Hoyer |
61c497 |
+ if (strstr(buf, "cannot read header"))
|
|
Harald Hoyer |
61c497 |
+ break;
|
|
Harald Hoyer |
61c497 |
+
|
|
Harald Hoyer |
61c497 |
+ if (strstr(buf, destrootdir))
|
|
Harald Hoyer |
61c497 |
+ break;
|
|
Harald Hoyer |
61c497 |
+
|
|
Harald Hoyer |
61c497 |
p = strstr(buf, "/");
|
|
Harald Hoyer |
61c497 |
if (p) {
|
|
Harald Hoyer |
61c497 |
int r;
|