diff options
author | Christopher Covington <cov@codeaurora.org> | 2010-07-08 07:46:00 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-07-08 19:52:42 -0700 |
commit | 960efaf44e550808815ed4c8f1513df9d5b9eb71 (patch) | |
tree | a0e7eea25a2f1ffe13303bf7ef2c95ffdb1dfb60 /doc/package.docbook | |
parent | 3a58eab382f5b31378030ea547ce0811e4b7d6a0 (diff) | |
download | portage-960efaf44e550808815ed4c8f1513df9d5b9eb71.tar.gz portage-960efaf44e550808815ed4c8f1513df9d5b9eb71.tar.bz2 portage-960efaf44e550808815ed4c8f1513df9d5b9eb71.zip |
Patch ebuild.sh to not nuke the WORKDIR if FEATURES="keepwork".
This allows make to do its thing when using Portage in a development
workflow, although the change also exposes how ebuild clean doesn't
clear out the WORKDIR.
TEST=`rm -rf /build/$board/tmp/portage/chromeos-base/kernel-0.0.1 &&
[ -e /build/$board/tmp/portage/chromeos-base/kernel-0.0.1/.unpacked ] &&
rm /build/$board/tmp/portage/chromeos-base/kernel-0.0.1/.unpacked &&
FEATURES=keepwork ebuild-$board kernel-0.0.1.ebuild install`
Then modify some of the source (preferably in the git repository rather
than the WORKDIR).
`[ -e /build/$board/tmp/portage/chromeos-base/kernel-0.0.1/.unpacked ] &&
rm /build/$board/tmp/portage/chromeos-base/kernel-0.0.1/.unpacked &&
FEATURES=keepwork ebuild-$board kernel-0.0.1.ebuild install &&`
On the second ebuild operation, make should be able to tell what
exactly, or if nothing at all, has changed, and rebuild only the
necessary object files.
http://codereview.chromium.org/2922001
Diffstat (limited to 'doc/package.docbook')
0 files changed, 0 insertions, 0 deletions