-
Notifications
You must be signed in to change notification settings - Fork 81
Migrate (almost) all versioned coreos-overlay ebuilds away from git eclass #3612
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
chewi
wants to merge
23
commits into
main
Choose a base branch
from
chewi/non-live
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
2cfaaf9
coreos-base/afterburn: Migrate versioned ebuild away from git eclass
chewi f1ad9e9
coreos-base/afterburn: Bump hostname crate to 0.4.2
chewi a30215f
coreos-base/coreos-cloudinit: Migrate versioned ebuild from git eclass
chewi 1ed6191
coreos-base/coreos-init: Migrate versioned ebuild away from git eclass
chewi 67acd2b
coreos-base/emerge-gitclone: Migrate versioned ebuild from git eclass
chewi 3eb64df
coreos-base/nova-agent-watcher: Migrate versioned ebuild from git eclass
chewi 3d9c111
coreos-base/update-ssh-keys: Migrate versioned ebuild from git eclass
chewi 44cee80
sys-apps/seismograph: Migrate versioned ebuild away from git eclass
chewi 1ae8b15
sys-libs/nss-usrfiles: Migrate versioned ebuild away from git eclass
chewi 1707275
app-admin/mayday: Migrate versioned ebuild away from git eclass
chewi 46a7686
app-admin/sdnotify-proxy: Migrate versioned ebuild away from git eclass
chewi e13b187
app-admin/toolbox: Migrate versioned ebuild away from git eclass
chewi 3e9b1c7
app-crypt/go-tspi: Migrate versioned ebuild away from git eclass
chewi a1e2557
app-admin/updateservicectl: Migrate versioned ebuild from git eclass
chewi 56f2543
app-admin/locksmith: Migrate versioned ebuild away from git eclass
chewi 2b46fab
sys-apps/baselayout: Already non-live but make consistent with others
chewi 0628540
sys-kernel/bootengine: Migrate versioned ebuild away from git eclass
chewi da8a414
coreos-base/update_engine: Migrate versioned ebuild away from git eclass
chewi f081126
coreos-base/ue-rs: Already non-live but make consistent with others
chewi a00f4c7
app-emulation/open-vmdk: Replace outdated git ebuild with new Gentoo one
chewi c6a640c
flatcar_workon: Don't error when run with no arguments
chewi 149ecc0
run_sdk_container: Mount /tmp with exec to fix flatcar_workon
chewi 7c833e2
build_image_util: Drop duplicate EGIT_REPO_URI handling
chewi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
sdk_container/src/third_party/coreos-overlay/app-admin/locksmith/Manifest
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| DIST locksmith-a1cb1f901971165827d68188e9f60752c0e33c10.tar.gz 239087 BLAKE2B f37e5cfcdad269f10b5c6f6f37365719f3a86cbe70ecf1c207e0e88129671b5d122170299eed5829a0b18ff1edd3d3e3f452efca207e819d646a4538c1820706 SHA512 79fe435d3efdaca7fec442701338b9dcc50b261e65d9628a3a0b69001f6bfadf4b4bf85f52d6025d4c3b04283b870423f23318bd275030032a34f5d9a82d1389 |
28 changes: 14 additions & 14 deletions
28
sdk_container/src/third_party/coreos-overlay/app-admin/locksmith/locksmith-9999.ebuild
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,35 +1,35 @@ | ||
| # Copyright (c) 2014 CoreOS, Inc.. All rights reserved. | ||
| # Distributed under the terms of the GNU General Public License v2 | ||
|
|
||
| EAPI=7 | ||
| EGIT_REPO_URI="https://github.com/flatcar/locksmith.git" | ||
| EAPI=8 | ||
|
|
||
| COREOS_GO_PACKAGE="github.com/flatcar/locksmith" | ||
| inherit git-r3 systemd coreos-go | ||
| inherit systemd coreos-go | ||
|
|
||
| DESCRIPTION="Reboot manager for the Flatcar update engine" | ||
| HOMEPAGE="https://github.com/flatcar/locksmith" | ||
|
|
||
| if [[ "${PV}" == 9999 ]]; then | ||
| KEYWORDS="~amd64 ~arm64" | ||
| if [[ ${PV} == 9999 ]]; then | ||
| EGIT_REPO_URI="https://github.com/flatcar/locksmith.git" | ||
| inherit git-r3 | ||
| else | ||
| EGIT_COMMIT="ee644fc60a32af5fbc4e83c64fcc7ca0eadb9e3f" # flatcar-master | ||
| EGIT_VERSION="a1cb1f901971165827d68188e9f60752c0e33c10" # flatcar-master | ||
| SRC_URI="https://github.com/flatcar/locksmith/archive/${EGIT_VERSION}.tar.gz -> ${PN}-${EGIT_VERSION}.tar.gz" | ||
| S="${WORKDIR}/${PN}-${EGIT_VERSION}" | ||
| KEYWORDS="amd64 arm64" | ||
| fi | ||
|
|
||
| DESCRIPTION="locksmith" | ||
| HOMEPAGE="https://github.com/flatcar/locksmith" | ||
| SRC_URI="" | ||
|
|
||
| LICENSE="Apache-2.0" | ||
| SLOT="0" | ||
| IUSE="" | ||
|
|
||
| src_compile() { | ||
| COREOS_GO_MOD=vendor go_build "${COREOS_GO_PACKAGE}/locksmithctl" | ||
| } | ||
|
|
||
| src_install() { | ||
| dobin ${GOBIN}/locksmithctl | ||
| dodir /usr/lib/locksmith | ||
| dobin "${GOBIN}"/locksmithctl | ||
| dosym ../../../bin/locksmithctl /usr/lib/locksmith/locksmithd | ||
|
|
||
| systemd_dounit "${S}"/systemd/locksmithd.service | ||
| systemd_dounit systemd/locksmithd.service | ||
| systemd_enable_service multi-user.target locksmithd.service | ||
| } | ||
3 changes: 3 additions & 0 deletions
3
sdk_container/src/third_party/coreos-overlay/app-admin/locksmith/metadata.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,7 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
| <pkgmetadata> | ||
| <upstream> | ||
| <remote-id type="github">flatcar/locksmith</remote-id> | ||
| </upstream> | ||
| </pkgmetadata> |
1 change: 1 addition & 0 deletions
1
sdk_container/src/third_party/coreos-overlay/app-admin/mayday/Manifest
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| DIST mayday-ae784704884e85de795a56752a9a10f1ff13be15.tar.gz 1887053 BLAKE2B b64ca02ab64eb3dd15b40d3dc160aa29a13ff84afa2580e84d21802576c8b8d8099158aee832e302f163e1a7ad9e4df2de22fffb8f7c6ea8e2e8683b8ebec573 SHA512 cd3818b08bde1d854128bcdb97dc92a4857f24968212d17a3bd2f43191433dfea4ee1658d2575eb9be92525a55952e3e25a7841a11ab657621b8bc45d3581fd6 |
26 changes: 13 additions & 13 deletions
26
sdk_container/src/third_party/coreos-overlay/app-admin/mayday/mayday-9999.ebuild
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,33 +1,33 @@ | ||
| # Copyright (c) 2015 CoreOS, Inc.. All rights reserved. | ||
| # Distributed under the terms of the GNU General Public License v2 | ||
|
|
||
| EAPI=7 | ||
| EGIT_REPO_URI="https://github.com/flatcar/mayday.git" | ||
| EAPI=8 | ||
|
|
||
| COREOS_GO_PACKAGE="github.com/flatcar/mayday" | ||
| inherit coreos-go git-r3 | ||
| inherit coreos-go | ||
|
|
||
| if [[ "${PV}" == 9999 ]]; then | ||
| KEYWORDS="~amd64 ~arm64" | ||
| if [[ ${PV} == 9999 ]]; then | ||
| EGIT_REPO_URI="https://github.com/flatcar/mayday.git" | ||
| inherit git-r3 | ||
| else | ||
| EGIT_COMMIT="8b9adcf261d13d395659ed839b3ba0af52bd117a" # main | ||
| KEYWORDS="amd64 arm64" | ||
| EGIT_VERSION="ae784704884e85de795a56752a9a10f1ff13be15" # main | ||
| SRC_URI="https://github.com/flatcar/mayday/archive/${EGIT_VERSION}.tar.gz -> ${PN}-${EGIT_VERSION}.tar.gz" | ||
| S="${WORKDIR}/${PN}-${EGIT_VERSION}" | ||
| KEYWORDS="amd64 arm64" | ||
| fi | ||
|
|
||
| DESCRIPTION="mayday" | ||
| DESCRIPTION="Tool to simplify gathering support information" | ||
| HOMEPAGE="https://github.com/flatcar/mayday" | ||
| SRC_URI="" | ||
|
|
||
| LICENSE="Apache-2.0" | ||
| SLOT="0" | ||
| IUSE="" | ||
|
|
||
| src_compile() { | ||
| COREOS_GO_MOD=vendor go_build "${COREOS_GO_PACKAGE}" | ||
| } | ||
|
|
||
| src_install() { | ||
| newbin ${GOBIN}/mayday mayday | ||
| dobin "${GOBIN}"/mayday | ||
| insinto /usr/share/mayday | ||
| doins "${S}/default.json" | ||
| doins default.json | ||
| } | ||
|
|
3 changes: 3 additions & 0 deletions
3
sdk_container/src/third_party/coreos-overlay/app-admin/mayday/metadata.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,7 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
| <pkgmetadata> | ||
| <upstream> | ||
| <remote-id type="github">flatcar/mayday</remote-id> | ||
| </upstream> | ||
| </pkgmetadata> |
1 change: 1 addition & 0 deletions
1
sdk_container/src/third_party/coreos-overlay/app-admin/sdnotify-proxy/Manifest
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| DIST sdnotify-proxy-0f8ef1aa86c59fc6d54eadaffb248feaccd1018b.tar.gz 7698 BLAKE2B 5abaac2c9fca1736bd093534714e1a17d4c49f4ae2f7bf1a0dcbbc07d493d9253714383d20b15f76dd2507babc4baea27201d262dec0df5aff280f60d050c8c2 SHA512 55940b2f528cbff05932164d5f246482ebd4aca24d913a4bcc9bc076ea4c4a8014b51440c593040f3b79cb138e18b8c4a2856929750dc690f36b4b79b4c5fc9c |
3 changes: 3 additions & 0 deletions
3
sdk_container/src/third_party/coreos-overlay/app-admin/sdnotify-proxy/metadata.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,7 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
| <pkgmetadata> | ||
| <upstream> | ||
| <remote-id type="github">flatcar/sdnotify-proxy</remote-id> | ||
| </upstream> | ||
| </pkgmetadata> |
26 changes: 13 additions & 13 deletions
26
...tainer/src/third_party/coreos-overlay/app-admin/sdnotify-proxy/sdnotify-proxy-9999.ebuild
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,29 +1,29 @@ | ||
| # Copyright (c) 2014 CoreOS, Inc.. All rights reserved. | ||
| # Distributed under the terms of the GNU General Public License v2 | ||
|
|
||
| EAPI=7 | ||
| EGIT_REPO_URI="https://github.com/flatcar/sdnotify-proxy.git" | ||
| EAPI=8 | ||
|
|
||
| COREOS_GO_PACKAGE="github.com/flatcar/sdnotify-proxy" | ||
| COREOS_GO_GO111MODULE="off" | ||
| inherit coreos-go git-r3 | ||
| inherit coreos-go | ||
|
|
||
| DESCRIPTION="Hack to allow Docker containers to use sd_notify" | ||
| HOMEPAGE="https://github.com/flatcar/sdnotify-proxy" | ||
|
|
||
| if [[ "${PV}" == 9999 ]]; then | ||
| KEYWORDS="~amd64 ~arm64" | ||
| if [[ ${PV} == 9999 ]]; then | ||
| EGIT_REPO_URI="https://github.com/flatcar/sdnotify-proxy.git" | ||
| inherit git-r3 | ||
| else | ||
| EGIT_COMMIT="0f8ef1aa86c59fc6d54eadaffb248feaccd1018b" # main | ||
| EGIT_VERSION="0f8ef1aa86c59fc6d54eadaffb248feaccd1018b" # main | ||
| SRC_URI="https://github.com/flatcar/sdnotify-proxy/archive/${EGIT_VERSION}.tar.gz -> ${PN}-${EGIT_VERSION}.tar.gz" | ||
| S="${WORKDIR}/${PN}-${EGIT_VERSION}" | ||
| KEYWORDS="amd64 arm64" | ||
| fi | ||
|
|
||
| DESCRIPTION="sdnotify-proxy" | ||
| HOMEPAGE="https://github.com/flatcar/sdnotify-proxy" | ||
| SRC_URI="" | ||
|
|
||
| LICENSE="Apache-2.0" | ||
| SLOT="0" | ||
| IUSE="" | ||
|
|
||
| src_install() { | ||
| # Put sdnotify-proxy into its well-know location. | ||
| exeinto /usr/libexec | ||
| doexe ${GOBIN}/sdnotify-proxy | ||
| doexe "${GOBIN}"/sdnotify-proxy | ||
| } |
1 change: 1 addition & 0 deletions
1
sdk_container/src/third_party/coreos-overlay/app-admin/toolbox/Manifest
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| DIST toolbox-a33dd49910b9208bcb835662308242494446a0ff.tar.gz 11780 BLAKE2B a12731927492fe118a4d1bae0c43b6d79297dcc25f312dc95045abeebe9b8701948ae95a6c15108ea50ceb81b680a913b0149b59f4444dc939dc8f4b2c3997dc SHA512 537fca7dc3b92715cf88cfb70708e3172c872cbf892433b16c22412086830771b140f0d1455e3747759b45405114662584b5f629c5b065ff1f89a1c363b4da5d |
3 changes: 3 additions & 0 deletions
3
sdk_container/src/third_party/coreos-overlay/app-admin/toolbox/metadata.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,7 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
| <pkgmetadata> | ||
| <upstream> | ||
| <remote-id type="github">flatcar/toolbox</remote-id> | ||
| </upstream> | ||
| </pkgmetadata> |
24 changes: 11 additions & 13 deletions
24
sdk_container/src/third_party/coreos-overlay/app-admin/toolbox/toolbox-9999.ebuild
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,26 +1,24 @@ | ||
| # Copyright (c) 2014 CoreOS, Inc.. All rights reserved. | ||
| # Distributed under the terms of the GNU General Public License v2 | ||
|
|
||
| EAPI=7 | ||
| EGIT_REPO_URI="https://github.com/flatcar/toolbox.git" | ||
| EAPI=8 | ||
|
|
||
| if [[ "${PV}" == 9999 ]]; then | ||
| KEYWORDS="~amd64 ~arm64" | ||
| DESCRIPTION="Launches a container to bring in your favorite debugging or admin tools" | ||
| HOMEPAGE="https://github.com/flatcar/toolbox" | ||
|
|
||
| if [[ ${PV} == 9999 ]]; then | ||
| EGIT_REPO_URI="https://github.com/flatcar/toolbox.git" | ||
| inherit git-r3 | ||
| else | ||
| EGIT_COMMIT="2fae95b467d6961a396b88d6aa20a9d6bee943c6" # main | ||
| EGIT_VERSION="a33dd49910b9208bcb835662308242494446a0ff" # main | ||
| SRC_URI="https://github.com/flatcar/toolbox/archive/${EGIT_VERSION}.tar.gz -> ${PN}-${EGIT_VERSION}.tar.gz" | ||
| S="${WORKDIR}/${PN}-${EGIT_VERSION}" | ||
| KEYWORDS="amd64 arm64" | ||
| fi | ||
|
|
||
| inherit git-r3 | ||
|
|
||
| DESCRIPTION="toolbox" | ||
| HOMEPAGE="https://github.com/flatcar/toolbox" | ||
| SRC_URI="" | ||
|
|
||
| LICENSE="Apache-2.0" | ||
| SLOT="0" | ||
| IUSE="" | ||
|
|
||
| src_install() { | ||
| dobin ${S}/toolbox | ||
| dobin toolbox | ||
| } |
1 change: 1 addition & 0 deletions
1
sdk_container/src/third_party/coreos-overlay/app-admin/updateservicectl/Manifest
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| DIST updateservicectl-bfcb21e4c5ef7077231ef1d879c867f1655da09a.tar.gz 109928 BLAKE2B a9757d3ddd2430e99097ce588ece0bfd807b1af8a7fa5db23e5ce0941cd27c1e976ed22c98ee18c3b15f9cef61eb52d918c1861566897b7f6290222e0ce1b881 SHA512 2e8eaebf706e2513b34b629071f58bcdf1d01749f866b2a5e089fa8c57195c63f800fd6882b5e29c5242d12114fbe8e5553a0d404e1552b893b93c941c516f56 |
3 changes: 3 additions & 0 deletions
3
sdk_container/src/third_party/coreos-overlay/app-admin/updateservicectl/metadata.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,7 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
| <pkgmetadata> | ||
| <upstream> | ||
| <remote-id type="github">flatcar/updateservicectl</remote-id> | ||
| </upstream> | ||
| </pkgmetadata> |
26 changes: 10 additions & 16 deletions
26
...er/src/third_party/coreos-overlay/app-admin/updateservicectl/updateservicectl-9999.ebuild
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,30 +1,24 @@ | ||
| # Copyright (c) 2014 CoreOS, Inc.. All rights reserved. | ||
| # Distributed under the terms of the GNU General Public License v2 | ||
|
|
||
| EAPI=7 | ||
| EGIT_REPO_URI="https://github.com/flatcar/updateservicectl.git" | ||
| EAPI=8 | ||
|
|
||
| COREOS_GO_PACKAGE="github.com/flatcar/updateservicectl" | ||
| COREOS_GO_GO111MODULE="on" | ||
| inherit git-r3 coreos-go | ||
| inherit coreos-go | ||
|
|
||
| if [[ "${PV}" == 9999 ]]; then | ||
| KEYWORDS="~amd64 ~arm64" | ||
| if [[ ${PV} == 9999 ]]; then | ||
| EGIT_REPO_URI="https://github.com/flatcar/updateservicectl.git" | ||
| inherit git-r3 | ||
| else | ||
| EGIT_COMMIT="446f13594465503a3fdfc9106fd8a0c3123249c2" # main | ||
| EGIT_VERSION="bfcb21e4c5ef7077231ef1d879c867f1655da09a" # main | ||
| SRC_URI="https://github.com/flatcar/updateservicectl/archive/${EGIT_VERSION}.tar.gz -> ${PN}-${EGIT_VERSION}.tar.gz" | ||
| S="${WORKDIR}/${PN}-${EGIT_VERSION}" | ||
| KEYWORDS="amd64 arm64" | ||
| fi | ||
|
|
||
| DESCRIPTION="CoreUpdate Management CLI" | ||
| DESCRIPTION="Flatcar Container Linux update service CLI" | ||
| HOMEPAGE="https://github.com/flatcar/updateservicectl" | ||
| SRC_URI="" | ||
|
|
||
| LICENSE="Apache-2.0" | ||
| SLOT="0" | ||
| IUSE="" | ||
|
|
||
| RDEPEND="!app-admin/updatectl" | ||
|
|
||
| src_prepare() { | ||
| coreos-go_src_prepare | ||
| GOPATH+=":${S}/Godeps/_workspace" | ||
| } |
1 change: 1 addition & 0 deletions
1
sdk_container/src/third_party/coreos-overlay/app-crypt/go-tspi/Manifest
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| DIST go-tspi-27182e3e7b1dfcfb398b5408a619abc4f652a38b.tar.gz 36280 BLAKE2B 4736f354834fe31212c8530e287bb0dd36f3bdb560e4501492c14204078ca411bb53d1578012bbe08a3c27f1c5f8d345d6364d2a1f51483dce6797ae54d3968c SHA512 06f05b0abfdcfd2572607d19903338167992d60197c156638daa4a593508e6203727d260d8140cff13f280bf89db0a29fd97837b17acf77ccf6a1c61ff696977 |
30 changes: 18 additions & 12 deletions
30
sdk_container/src/third_party/coreos-overlay/app-crypt/go-tspi/go-tspi-9999.ebuild
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,31 +1,37 @@ | ||
| EAPI=7 | ||
| # Copyright 2025 The Flatcar Container Linux Maintainers | ||
| # Distributed under the terms of the Apache License 2.0 | ||
|
|
||
| inherit coreos-go git-r3 systemd | ||
| EAPI=8 | ||
|
|
||
| inherit coreos-go systemd | ||
| COREOS_GO_PACKAGE="github.com/coreos/go-tspi" | ||
| COREOS_GO_GO111MODULE="off" | ||
| EGIT_REPO_URI="https://github.com/coreos/go-tspi.git" | ||
|
|
||
| if [[ "${PV}" == 9999 ]]; then | ||
| KEYWORDS="~amd64 ~arm64" | ||
| DESCRIPTION="Go bindings and support code for libtspi and TPM communication" | ||
| HOMEPAGE="https://github.com/google/go-tspi" | ||
|
|
||
| if [[ ${PV} == 9999 ]]; then | ||
| EGIT_REPO_URI="https://github.com/google/go-tspi.git" | ||
| inherit git-r3 | ||
| else | ||
| EGIT_COMMIT="27182e3e7b1dfcfb398b5408a619abc4f652a38b" | ||
| KEYWORDS="amd64 arm64" | ||
| EGIT_VERSION="27182e3e7b1dfcfb398b5408a619abc4f652a38b" | ||
| SRC_URI="https://github.com/google/go-tspi/archive/${EGIT_VERSION}.tar.gz -> ${PN}-${EGIT_VERSION}.tar.gz" | ||
| S="${WORKDIR}/${PN}-${EGIT_VERSION}" | ||
| KEYWORDS="amd64 arm64" | ||
| fi | ||
|
|
||
| IUSE="" | ||
|
|
||
| LICENSE="Apache-2.0" | ||
| SLOT="0" | ||
|
|
||
| RDEPEND="app-crypt/trousers" | ||
| DEPEND="${RDEPEND}" | ||
|
|
||
| src_compile() { | ||
| go_build "${COREOS_GO_PACKAGE}/tpmd" | ||
| go_build "${COREOS_GO_PACKAGE}/tpmown" | ||
| go_build "${COREOS_GO_PACKAGE}"/tpmd | ||
| go_build "${COREOS_GO_PACKAGE}"/tpmown | ||
| } | ||
|
|
||
| src_install() { | ||
| dobin ${GOBIN}/* | ||
| dobin "${GOBIN}"/* | ||
| systemd_dounit "${FILESDIR}"/tpmd.service | ||
| } |
3 changes: 3 additions & 0 deletions
3
...rlay/app-emulation/open-vmdk/metadata.xml → ...os-overlay/app-crypt/go-tspi/metadata.xml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,7 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> | ||
| <pkgmetadata> | ||
| <upstream> | ||
| <remote-id type="github">google/go-tspi</remote-id> | ||
| </upstream> | ||
| </pkgmetadata> |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EGIT_ seems a little misleading when not using git-r3?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A little, but it allows us to use the same variable if needing to reference the commit elsewhere, such as in coreos-cloudinit.