mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-16 09:26:58 +02:00
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.
This commit is contained in:
parent
c1039fbcfa
commit
13fa480c49
@ -12,7 +12,7 @@ SLOT="0"
|
|||||||
DEPEND="sys-apps/debianutils
|
DEPEND="sys-apps/debianutils
|
||||||
"
|
"
|
||||||
|
|
||||||
IUSE="-kernel_sources"
|
IUSE="-source"
|
||||||
STRIP_MASK="/usr/lib/debug/boot/vmlinux"
|
STRIP_MASK="/usr/lib/debug/boot/vmlinux"
|
||||||
|
|
||||||
# Build out-of-tree and incremental by default, but allow an ebuild inheriting
|
# 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}/
|
insinto /usr/lib/debug/boot/${version}/
|
||||||
doins "$(cros-workon_get_build_dir)/vmlinux"
|
doins "$(cros-workon_get_build_dir)/vmlinux"
|
||||||
|
|
||||||
if use kernel_sources; then
|
if use source; then
|
||||||
install_kernel_sources
|
install_kernel_sources
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user