fix(virtual/linux-sources): Only install coreos-kernel on targets.

We don't have a valid kernel (or use-case to have one) for "cros_host"
(the SDK) so just fake it. Also remove some unused flags.

This change prevents the latest kmod ebuild from pulling in
coreos-kernel, bootengine, and friends into the SDK.
This commit is contained in:
Michael Marineau 2013-08-06 19:51:32 -04:00
parent 37b2e4a2e8
commit e7015a87a5

View File

@ -9,9 +9,8 @@ HOMEPAGE="http://www.coreos.com"
LICENSE="GPL-2" LICENSE="GPL-2"
SLOT="0" SLOT="0"
KEYWORDS="amd64 arm x86" KEYWORDS="amd64 arm x86"
IUSE="-kernel_next -kernel_sources" IUSE="cros_host"
RDEPEND=" RDEPEND="
kernel_next? ( sys-kernel/coreos-kernel-next[kernel_sources=] ) !cros_host? ( sys-kernel/coreos-kernel )
!kernel_next? ( sys-kernel/coreos-kernel[kernel_sources=] )
" "