sys-apps/baselayout: Don't fetch non-live version from git

Use a regular tarball from GitHub. baselayout is a special case because
Catalyst initially installs it with --nodeps. We currently use stage 4
as a seed, which includes git, so this is fine right now, but we would
like to switch to using stage 3 instead. You also might use a
cross-compiled stage 3 as a seed when porting the SDK to a new
architecture.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
This commit is contained in:
James Le Cuirot 2024-07-16 17:23:35 +01:00
parent 1d141f67c0
commit 618dfc49ba
No known key found for this signature in database
GPG Key ID: 1226415D00DD3137
2 changed files with 5 additions and 2 deletions

View File

@ -0,0 +1 @@
DIST flatcar-baselayout-937a45faef0f7fa88d3d2c3f7ba60a7f3e2e82f7.tar.gz 34560 BLAKE2B f4204cdabb87cc1618d7adcc0f3b0103686d60d1073c7539ffb1e4c0c264308b42cac1a2aaab0153c9762935d1cbf81c0e061a1aaeb53980d6ff278a6d26290b SHA512 9ca214c698fcd144c7dabcbda2226af7d2126b5d104ceb1eab7234a41326cc6a469ebaf2528709234d59019c84e277925e66309f4cb62b17f48be8834f6b611a

View File

@ -5,18 +5,20 @@ EAPI=7
EGIT_REPO_URI="https://github.com/flatcar/baselayout.git" EGIT_REPO_URI="https://github.com/flatcar/baselayout.git"
if [[ "${PV}" == 9999 ]]; then if [[ "${PV}" == 9999 ]]; then
inherit git-r3
KEYWORDS="~amd64 ~arm ~arm64 ~x86" KEYWORDS="~amd64 ~arm ~arm64 ~x86"
else else
EGIT_COMMIT="937a45faef0f7fa88d3d2c3f7ba60a7f3e2e82f7" # flatcar-master EGIT_COMMIT="937a45faef0f7fa88d3d2c3f7ba60a7f3e2e82f7" # flatcar-master
SRC_URI="https://github.com/flatcar/baselayout/archive/${EGIT_COMMIT}.tar.gz -> flatcar-${PN}-${EGIT_COMMIT}.tar.gz"
S="${WORKDIR}/${PN}-${EGIT_COMMIT}"
KEYWORDS="amd64 arm arm64 x86" KEYWORDS="amd64 arm arm64 x86"
fi fi
TMPFILES_OPTIONAL=1 TMPFILES_OPTIONAL=1
inherit git-r3 multilib systemd tmpfiles inherit multilib systemd tmpfiles
DESCRIPTION="Filesystem baselayout for CoreOS" DESCRIPTION="Filesystem baselayout for CoreOS"
HOMEPAGE="http://www.coreos.com/" HOMEPAGE="http://www.coreos.com/"
SRC_URI=""
LICENSE="GPL-2" LICENSE="GPL-2"
SLOT="0" SLOT="0"