Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH 1/3] mount-boot.eclass: Remove support for EAPI 4 and 5
Date: Tue, 12 Jan 2021 13:00:39
Message-Id: 20210112125957.496263-2-mgorny@gentoo.org
In Reply to: [gentoo-dev] [PATCH 0/3] mount-boot/kernel-install: better (re)mount /boot error messages by "Michał Górny"
1 The eclass is no longer used by any EAPI 4 or 5 ebuilds in ::gentoo.
2 This removes the need for EAPI-conditional nonfatal support.
3
4 Signed-off-by: Michał Górny <mgorny@g.o>
5 ---
6 eclass/mount-boot.eclass | 3 ++-
7 1 file changed, 2 insertions(+), 1 deletion(-)
8
9 diff --git a/eclass/mount-boot.eclass b/eclass/mount-boot.eclass
10 index 00b367793252..2874f9aae11b 100644
11 --- a/eclass/mount-boot.eclass
12 +++ b/eclass/mount-boot.eclass
13 @@ -5,6 +5,7 @@
14 # @MAINTAINER:
15 # base-system@g.o
16 # @BLURB: functions for packages that install files into /boot
17 +# @SUPPORTED_EAPIS: 6 7
18 # @DESCRIPTION:
19 # This eclass is really only useful for bootloaders.
20 #
21 @@ -13,7 +14,7 @@
22 # error if it can't. It does nothing if /boot isn't a separate partition.
23
24 case ${EAPI:-0} in
25 - 4|5|6|7) ;;
26 + 6|7) ;;
27 *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;;
28 esac
29
30 --
31 2.30.0