Skip to content

Commit

Permalink
repository.eselect.in: set profile EAPI (8)
Browse files Browse the repository at this point in the history
PMS says that PMs must assume EAPI 0 if it's not present, and not all PMs
support this (pkgcraft doesn't, for example, and Portage is looking to drop
it one day).

Just set EAPI 8. We do EAPI=5 in Gentoo right now for upgrade reasons but even
that isn't really necessary.

Closes: #26
Signed-off-by: Sam James <sam@gentoo.org>
  • Loading branch information
thesamesam committed Sep 24, 2023
1 parent 569a230 commit 7f2f74f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions repository.eselect.in
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,8 @@ do_create() {
# create the repository boilerplate
mkdir -p "${path}"/{metadata,profiles} || die
echo "${name}" > "${path}"/profiles/repo_name || die
# PMS says PMs must default to EAPI 0 if unset
echo "8" > "${path}"/profiles/eapi || die
cat > "${path}"/metadata/layout.conf <<-EOF || die
masters = gentoo
thin-manifests = true
Expand Down

0 comments on commit 7f2f74f

Please sign in to comment.