summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-01-03 01:36:04 +0100
committerMichał Górny <mgorny@gentoo.org>2021-01-07 13:39:08 +0100
commitf6088d565d3e3aff0da992aec1ddaca3934b0e14 (patch)
tree18ca35a4d28d4fac52dfc51756f11ab0c5de1f10 /profiles/arch/amd64
parentsys-kernel/vanilla-kernel: Add a PDEP on virtual/prebuilt-kernel (diff)
downloadgentoo-f6088d565d3e3aff0da992aec1ddaca3934b0e14.tar.gz
gentoo-f6088d565d3e3aff0da992aec1ddaca3934b0e14.tar.bz2
gentoo-f6088d565d3e3aff0da992aec1ddaca3934b0e14.zip
linux-mod.eclass: Add a prebuilt-kernel rebuild flag
Add a 'prebuilt-kernel' USE flag that controls a bound-slot dependency on virtual/prebuilt-kernel. If the flag is enabled, it should ensure that the module will be rebuilt automatically on future kernel upgrades. Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'profiles/arch/amd64')
-rw-r--r--profiles/arch/amd64/use.mask6
-rw-r--r--profiles/arch/amd64/use.stable.mask6
2 files changed, 10 insertions, 2 deletions
diff --git a/profiles/arch/amd64/use.mask b/profiles/arch/amd64/use.mask
index 2334ab319381..30c8a9b41147 100644
--- a/profiles/arch/amd64/use.mask
+++ b/profiles/arch/amd64/use.mask
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Unmask the flag which corresponds to ARCH.
@@ -6,6 +6,10 @@
# SECTION: Unmask
+# Michał Górny <mgorny@gentoo.org> (2021-01-07)
+# Prebuilt kernels are supported here.
+-dist-kernel
+
# Andreas Sturmlechner <asturm@gentoo.org> (2020-06-06)
# sci-libs/mkl works on amd64
-mkl
diff --git a/profiles/arch/amd64/use.stable.mask b/profiles/arch/amd64/use.stable.mask
index b83b8507d91c..ba88ea41c2eb 100644
--- a/profiles/arch/amd64/use.stable.mask
+++ b/profiles/arch/amd64/use.stable.mask
@@ -1,9 +1,13 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# This file requires eapi 5 or later. New entries go on top.
# Please use the same syntax as in use.mask
+# Michał Górny <mgorny@gentoo.org> (2021-01-07)
+# Prebuilt kernel rebuilds are supported on stable yet.
+dist-kernel
+
# Andreas Sturmlechner <asturm@gentoo.org> (2020-06-06)
# sci-libs/mkl is not stable, needs online registration to even run pkg_setup
mkl