Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 73199 Details for
Bug 112907
Split ELF debug
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
portage-2.0.53_rc7-debug-subpkg.patch
portage-2.0.53_rc7-debug-subpkg.patch (text/plain), 1.83 KB, created by
solar (RETIRED)
on 2005-11-19 15:28:01 UTC
(
hide
)
Description:
portage-2.0.53_rc7-debug-subpkg.patch
Filename:
MIME Type:
Creator:
solar (RETIRED)
Created:
2005-11-19 15:28:01 UTC
Size:
1.83 KB
patch
obsolete
>diff -Nrup portage-2.0.53_rc7.orig/bin/ebuild.sh portage-2.0.53_rc7/bin/ebuild.sh >--- portage-2.0.53_rc7.orig/bin/ebuild.sh 2005-10-30 02:25:14.000000000 -0500 >+++ portage-2.0.53_rc7/bin/ebuild.sh 2005-11-19 16:48:29.000000000 -0500 >@@ -999,6 +999,44 @@ dyn_test() { > PORTAGE_INST_UID="0" > PORTAGE_INST_GID="0" > >+prepbin_debug() { >+ cd ${D} >+ [[ $DYN_EBUILD == 1 ]] && return 0 >+ [ -d usr/lib/debug ] || return 0 >+ echo ">>> subpackage debug info" >+ rm -rf "${BUILDDIR}/debug" >+ mkdir -p "${BUILDDIR}/debug/"{build-info,image/usr/lib} >+ mv usr/lib/debug ${BUILDDIR}/debug/image/usr/lib/ >+ cd "${BUILDDIR}/debug/build-info" >+ echo -n "$PN-debug-$PV-$PR" > PF >+ echo -n "=$CATEGORY/$PF" > DEPEND >+ echo -n "=$CATEGORY/$PF" > RDEPEND >+ echo -n "$CATEGORY" > CATEGORY >+ echo -n "$SLOT" > SLOT >+ echo -n "1" > DYN_EBUILD >+ > environment >+ #export -p | sed 's:declare -rx:declare -x:' >> environment >+ bzip2 -9 environment >+ cat << __EBUILD_DEBUG_EOF | tr '\t' ' ' | sed -e 's: \+: :g' > $PN-debug-$PV-$PR.ebuild >+SRC_URI="" >+DEPEND="=$CATEGORY/$PF" >+RDEPEND="=$CATEGORY/$PF" >+DYN_EBUILD=1 >+src_unpack() { return 0; } >+src_compile() { return 0; } >+src_install() { return 0; } >+__EBUILD_DEBUG_EOF >+ >+ cd ${BUILDDIR}/debug/image/ >+ tar cpvf - ./ | bzip2 -f > ../bin.tar.bz2 || die "Failed to create tarball" >+ cd .. >+ xpak build-info inf.xpak >+ tbz2tool join bin.tar.bz2 inf.xpak "$PN-debug-$PV-$PR.tbz2" >+ env LD_PRELOAD="" mv "$PN-debug-$PV-$PR.tbz2" "${PKGDIR}/All" || die "Failed to move tbz2 to ${PKGDIR}/All" >+ # dont symlink here. We want to forced a merge by >+ # pathname as that also forces a --oneshot which keeps >+} >+ > dyn_install() { > trap "abort_install" SIGINT SIGQUIT > rm -rf "${BUILDDIR}/image" >@@ -1017,6 +1055,8 @@ dyn_install() { > src_install > #|| abort_install "fail" > prepall >+ prepbin_debug >+ > cd "${D}" > > declare -i UNSAFE=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 112907
:
73132
| 73199 |
76151