From 6b3e575b5097171ac483967949b1a857f7b165cb Mon Sep 17 00:00:00 2001 From: Krzesimir Nowak Date: Tue, 21 Dec 2021 10:53:00 +0100 Subject: [PATCH] eclass/preserve-libs: Support EAPI 0 and 4 --- .../third_party/portage-stable/eclass/preserve-libs.eclass | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/preserve-libs.eclass b/sdk_container/src/third_party/portage-stable/eclass/preserve-libs.eclass index da13e7943a..8866ff3ba0 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/preserve-libs.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/preserve-libs.eclass @@ -1,14 +1,16 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 +# Flatcar: Support EAPI 0 and 4. + # @ECLASS: preserve-libs.eclass # @MAINTAINER: # base-system@gentoo.org -# @SUPPORTED_EAPIS: 5 6 7 +# @SUPPORTED_EAPIS: 0 4 5 6 7 # @BLURB: preserve libraries after SONAME changes case ${EAPI:-0} in - [567]) ;; + [04567]) ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac