cros_workon_make: actually inplace when doing an install

Also, fixed to honour external FEATURES for the install case.

BUG=n0ne
TEST=Built a kernel with this CL.

Change-Id: I17d50cc382b297766761f12d47a555630fedc016

Review URL: http://codereview.chromium.org/5530004
This commit is contained in:
Mandeep Singh Baines 2010-12-03 16:18:30 -08:00
parent 4f09b96e70
commit 46b5e1d286

View File

@ -85,7 +85,8 @@ if [ "${FLAGS_test}" = "${FLAGS_TRUE}" ]; then
emerge_features="test"
fi
if [ "${FLAGS_install}" = "${FLAGS_TRUE}" ]; then
FEATURES="${emerge_features}" "${EMERGECMD}" "${1}"
SANDBOX_WRITE=~/trunk CROS_WORKON_INPLACE=1 \
FEATURES="${emerge_features} ${FEATURES}" "${EMERGECMD}" "${1}"
exit $?
fi