From a9b4b07a852734bdd7b6142d75517745869f727b Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 2 Mar 2026 07:27:53 +0000 Subject: [PATCH] eclass/unpacker: Sync with Gentoo It's from Gentoo commit 8932600dfca2ec57a4a5b2a56571824ecbf5a1af. Signed-off-by: Flatcar Buildbot --- .../src/third_party/portage-stable/eclass/unpacker.eclass | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sdk_container/src/third_party/portage-stable/eclass/unpacker.eclass b/sdk_container/src/third_party/portage-stable/eclass/unpacker.eclass index 0ace3ae53c..e51c51dfa3 100644 --- a/sdk_container/src/third_party/portage-stable/eclass/unpacker.eclass +++ b/sdk_container/src/third_party/portage-stable/eclass/unpacker.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2025 Gentoo Authors +# Copyright 1999-2026 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # @ECLASS: unpacker.eclass @@ -218,7 +218,8 @@ unpack_makeself() { skip=$(head -n ${skip} "${src}" | wc -c) exe="dd" ;; - 2.4.5) + # 2.6.0's header also contains "2.5.0"; unpack_makeself works in both cases + 2.4.5|2.5.0|2.7.0|2.7.1) # e.g.: skip="713" skip=$( sed -n -e '/^skip=/{s:skip="\(.*\)":\1:p;q}' "${src}"