diff options
author | Mike Gilbert <floppym@gentoo.org> | 2022-09-08 11:34:13 -0400 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2022-09-09 21:17:32 -0400 |
commit | fd4bae23e8da9dae8b4a35f403ff9dd1b5d7a688 (patch) | |
tree | a1e162b7230c8774561da4cd06902f3ed5f95a4b /eclass | |
parent | x11-misc/polybar: Stabilize 3.6.3-r1 x86, #869377 (diff) | |
download | gentoo-fd4bae23e8da9dae8b4a35f403ff9dd1b5d7a688.tar.gz gentoo-fd4bae23e8da9dae8b4a35f403ff9dd1b5d7a688.tar.bz2 gentoo-fd4bae23e8da9dae8b4a35f403ff9dd1b5d7a688.zip |
dist-kernel-utils.eclass: support EAPI 8
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/dist-kernel-utils.eclass | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/eclass/dist-kernel-utils.eclass b/eclass/dist-kernel-utils.eclass index d192c31db273..8c1b56f41506 100644 --- a/eclass/dist-kernel-utils.eclass +++ b/eclass/dist-kernel-utils.eclass @@ -6,7 +6,7 @@ # Distribution Kernel Project <dist-kernel@gentoo.org> # @AUTHOR: # Michał Górny <mgorny@gentoo.org> -# @SUPPORTED_EAPIS: 7 +# @SUPPORTED_EAPIS: 7 8 # @BLURB: Utility functions related to Distribution Kernels # @DESCRIPTION: # This eclass provides various utility functions related to Distribution @@ -14,15 +14,9 @@ if [[ ! ${_DIST_KERNEL_UTILS} ]]; then -case "${EAPI:-0}" in - 0|1|2|3|4|5|6) - die "Unsupported EAPI=${EAPI:-0} (too old) for ${ECLASS}" - ;; - 7) - ;; - *) - die "Unsupported EAPI=${EAPI} (unknown) for ${ECLASS}" - ;; +case ${EAPI} in + 7|8) ;; + *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac # @FUNCTION: dist-kernel_build_initramfs |