Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 31748

Summary: Add dyn_preinst to ebuild.sh
Product: Portage Development Reporter: Chris PeBenito (RETIRED) <pebenito>
Component: UnclassifiedAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal CC: embedded, method
Priority: High Keywords: Inclusion
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: ebuild.sh-dyn_preinst.diff
updated dyn_preinst patch

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