Skip to content

Commit

Permalink
dist-kernel-utils.eclass: support EAPI 8
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Gilbert <[email protected]>
  • Loading branch information
floppym committed Sep 10, 2022
1 parent 5cf19e9 commit fd4bae2
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions eclass/dist-kernel-utils.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,17 @@
# Distribution Kernel Project <[email protected]>
# @AUTHOR:
# Michał Górny <[email protected]>
# @SUPPORTED_EAPIS: 7
# @SUPPORTED_EAPIS: 7 8
# @BLURB: Utility functions related to Distribution Kernels
# @DESCRIPTION:
# This eclass provides various utility functions related to Distribution
# Kernels.

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
Expand Down

0 comments on commit fd4bae2

Please sign in to comment.