Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 549402 Details for
Bug 667752
sys-kernel/dracut-046-r1: initramfs is missing ld symlink
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
simplify ldd parsing logic
0001-dracut-install-simplify-ldd-parsing-logic.patch (text/plain), 1.05 KB, created by
Mike Gilbert
on 2018-10-04 20:49:53 UTC
(
hide
)
Description:
simplify ldd parsing logic
Filename:
MIME Type:
Creator:
Mike Gilbert
Created:
2018-10-04 20:49:53 UTC
Size:
1.05 KB
patch
obsolete
>From a6c860d24370a74b20762a3f19e8ae1e5fd2a542 Mon Sep 17 00:00:00 2001 >From: Mike Gilbert <floppym@gentoo.org> >Date: Thu, 4 Oct 2018 16:45:47 -0400 >Subject: [PATCH] dracut-install: simplify ldd parsing logic > >The previous logic would not handle absolute paths on the left side of >the "=>" properly. > >Instead of looking for the first slash after the "=>", just look for the >first slash, period. > >Bug: https://bugs.gentoo.org/667752 >--- > install/dracut-install.c | 6 +----- > 1 file changed, 1 insertion(+), 5 deletions(-) > >diff --git a/install/dracut-install.c b/install/dracut-install.c >index 88bca1d4..5f352b36 100644 >--- a/install/dracut-install.c >+++ b/install/dracut-install.c >@@ -479,11 +479,7 @@ static int resolve_deps(const char *src) > if (strstr(buf, destrootdir)) > break; > >- p = strstr(buf, "=>"); >- if (!p) >- p = buf; >- >- p = strchr(p, '/'); >+ p = strchr(buf, '/'); > if (p) { > char *q; > >-- >2.19.0 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 667752
:
549400
| 549402