From 13fa480c49b0c6fc65ce7481faff584113835097 Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Thu, 14 Nov 2013 18:14:51 -0800 Subject: [PATCH] fix(cros-kernel2.eclass): Drop the kernel_, just source. It's cleaner. The use flag kernel_sources conflicts with the special meaning of the use flag prefix kernel_ which is reserved for defining the host kernel, for example kernel_linux. Also a couple other ebuilds in Gentoo have a source use flag so let's just follow that pattern instead. --- .../src/third_party/coreos-overlay/eclass/cros-kernel2.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk_container/src/third_party/coreos-overlay/eclass/cros-kernel2.eclass b/sdk_container/src/third_party/coreos-overlay/eclass/cros-kernel2.eclass index 8168bf4e1b..b558af14fb 100644 --- a/sdk_container/src/third_party/coreos-overlay/eclass/cros-kernel2.eclass +++ b/sdk_container/src/third_party/coreos-overlay/eclass/cros-kernel2.eclass @@ -12,7 +12,7 @@ SLOT="0" DEPEND="sys-apps/debianutils " -IUSE="-kernel_sources" +IUSE="-source" STRIP_MASK="/usr/lib/debug/boot/vmlinux" # Build out-of-tree and incremental by default, but allow an ebuild inheriting @@ -144,7 +144,7 @@ cros-kernel2_src_install() { insinto /usr/lib/debug/boot/${version}/ doins "$(cros-workon_get_build_dir)/vmlinux" - if use kernel_sources; then + if use source; then install_kernel_sources fi }