setup_board: drop binutils from package.provided

We don't have anything pulling this into the target, so there is no reason
to list it in package.provided.  Further, this messes us up when we we do
want to install it into the target image (for debugging/etc...).

BUG=chromium-os:21330
TEST=`build_packages+build_image` for x86-alex did not install binutils
TEST=`cbuildbot {amd64,arm,x86}-generic-full` did not install binutils
TEST=`emerge-x86-alex binutils` worked

Change-Id: Ie43124a5e763e416508155ab6465a272e639905a
Reviewed-on: https://gerrit.chromium.org/gerrit/30287
Reviewed-by: asharif <asharif@chromium.org>
Commit-Ready: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
Mike Frysinger 2012-08-14 16:01:29 -04:00 committed by Gerrit
parent 9a83e4e1b5
commit bc09fb8974

View File

@ -167,7 +167,6 @@ install_toolchain_in_provided() {
local glibc_ver="$3"
# Tell portage that toolchain packages are already installed in the sysroot.
(
echo sys-devel/binutils-$binutils_ver
echo sys-devel/gcc-$gcc_ver
echo sys-libs/glibc-$glibc_ver
) | sudo_clobber "$BOARD_PROFILE/package.provided"