Gentoo Archives: gentoo-dev

From: Mike Gilbert <floppym@g.o>
To: gentoo-dev@l.g.o
Cc: dist-kernel@g.o, base-system@g.o, Mike Gilbert <floppym@g.o>
Subject: [gentoo-dev] [PATCH 5/8] kernel-build.eclass: support EAPI 8
Date: Thu, 08 Sep 2022 17:20:16
Message-Id: 20220908171816.688404-6-floppym@gentoo.org
In Reply to: [gentoo-dev] [PATCH 0/8] Migrate dist-kernel packages to EAPI 8 by Mike Gilbert
1 Signed-off-by: Mike Gilbert <floppym@g.o>
2 ---
3 eclass/kernel-build.eclass | 4 ++--
4 1 file changed, 2 insertions(+), 2 deletions(-)
5
6 diff --git a/eclass/kernel-build.eclass b/eclass/kernel-build.eclass
7 index 750a8e873d9..43d46f94108 100644
8 --- a/eclass/kernel-build.eclass
9 +++ b/eclass/kernel-build.eclass
10 @@ -6,7 +6,7 @@
11 # Distribution Kernel Project <dist-kernel@g.o>
12 # @AUTHOR:
13 # Michał Górny <mgorny@g.o>
14 -# @SUPPORTED_EAPIS: 7
15 +# @SUPPORTED_EAPIS: 7 8
16 # @PROVIDES: kernel-install
17 # @BLURB: Build mechanics for Distribution Kernels
18 # @DESCRIPTION:
19 @@ -26,7 +26,7 @@ case "${EAPI:-0}" in
20 0|1|2|3|4|5|6)
21 die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}"
22 ;;
23 - 7)
24 + 7|8)
25 ;;
26 *)
27 die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}"
28 --
29 2.37.3