Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31748 - Add dyn_preinst to ebuild.sh
Summary: Add dyn_preinst to ebuild.sh
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: Inclusion
Depends on:
Blocks:
 
Reported: 2003-10-22 09:31 UTC by Chris PeBenito (RETIRED)
Modified: 2011-10-30 22:18 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild.sh-dyn_preinst.diff (ebuild.sh-dyn_preinst.diff,2.86 KB, patch)
2003-10-22 09:34 UTC, Chris PeBenito (RETIRED)
Details | Diff
updated dyn_preinst patch (ebuild.sh-dyn_preinst.diff,3.17 KB, patch)
2003-11-11 11:52 UTC, Chris PeBenito (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris PeBenito (RETIRED) gentoo-dev 2003-10-22 09:31:57 UTC
Here's a patch against ebuild.sh that adds dyn_preinst, and moves the sfperms and selinux blocks from dyn_install to dyn_preinst.  It is dependant on the ${EMERGE_FROM} being set (binary or ebuild), which is a change you said would be made.  Please note the last hunk of the patch; I'm not sure which case you want preinst moved to.
Comment 1 Chris PeBenito (RETIRED) gentoo-dev 2003-10-22 09:34:35 UTC
Created attachment 19623 [details, diff]
ebuild.sh-dyn_preinst.diff

patch against ebuild.sh from portage-2.0.49-r15 (cvs v1.143)
Comment 2 Chris PeBenito (RETIRED) gentoo-dev 2003-11-11 11:52:41 UTC
Created attachment 20605 [details, diff]
updated dyn_preinst patch

This updated one adds in FEATURES nodoc, noman, and noinfo to remove the
respective stuff from /usr/share, as needed by the embedded team
Comment 3 Chris PeBenito (RETIRED) gentoo-dev 2003-11-11 12:37:39 UTC
Ok, genome tells me that the FEATURES in the 2nd patch will be covered by
the forthcoming INSTALL_PROTECT.  So, ignore the 2nd patch, and just look
at the first patch.
Comment 4 Nicholas Jones (RETIRED) gentoo-dev 2003-11-11 18:31:04 UTC
Went with patch 2.
in for -r17