Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 338222 Details for
Bug 450688
sys-kernel/genkernel-3.4.40-r1 do not copy binary file but dependency libs after upgrade app-misc/pax-utils-0.6
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to make use of "-l" if lddtree is new enough
0001-Make-copy_binaries-compatible-with-lddtree-from-pax-.patch (text/plain), 1.41 KB, created by
Xake
on 2013-02-07 12:50:39 UTC
(
hide
)
Description:
Patch to make use of "-l" if lddtree is new enough
Filename:
MIME Type:
Creator:
Xake
Created:
2013-02-07 12:50:39 UTC
Size:
1.41 KB
patch
obsolete
>From 189e83d4f99dc86bcaf34994fabae461d57dfce4 Mon Sep 17 00:00:00 2001 >From: Peter Hjalmarsson <xake@rymdraket.net> >Date: Thu, 7 Feb 2013 13:31:14 +0100 >Subject: [PATCH] Make copy_binaries compatible with lddtree from pax-utils-0.6 > >On some system the output from the new lddtree does not match with what >genkernel expects, however lddtree have insted gained a new option that >essentially gives what we want with less code. >--- > gen_initramfs.sh | 11 ++++++++++- > 1 file changed, 10 insertions(+), 1 deletion(-) > >diff --git a/gen_initramfs.sh b/gen_initramfs.sh >index 99bd3f3..c470fe9 100755 >--- a/gen_initramfs.sh >+++ b/gen_initramfs.sh >@@ -33,13 +33,22 @@ copy_binaries() { > fi > done > # This must be OUTSIDE the for loop, we only want to run lddtree etc ONCE. >- lddtree "$@" \ >+ # lddtree does not have the -V (version) nor the -l (list) options prior to version 1.18 >+ if lddtree -V > /dev/null 2>&1 ; then >+ lddtree -l"$@" \ >+ | sort \ >+ | uniq \ >+ | cpio -p --make-directories --dereference --quiet "${destdir}" \ >+ || gen_die "Binary ${f} or some of its library dependencies could not be copied" >+ else >+ lddtree "$@" \ > | tr ')(' '\n' \ > | awk '/=>/{ if($3 ~ /^\//){print $3}}' \ > | sort \ > | uniq \ > | cpio -p --make-directories --dereference --quiet "${destdir}" \ > || gen_die "Binary ${f} or some of its library dependencies could not be copied" >+ fi > } > > log_future_cpio_content() { >-- >1.8.1.1 >
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 450688
: 338222 |
350336