-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
coreos-overlay ue-rs: download and unpack tarball correctly
Now that the previous git clone method does not work any more with the current eclass, we need to download source tarball directly from GitHub archive, and specify source directory name correspondingly.
- Loading branch information
1 parent
2a2f7da
commit 3fbb788
Showing
2 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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 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 |
---|---|---|
|
@@ -6,11 +6,14 @@ EAPI=8 | |
EGIT_REPO_URI="https://github.com/flatcar/ue-rs.git" | ||
|
||
if [[ ${PV} == 9999 ]]; then | ||
inherit git-r3 | ||
KEYWORDS="~amd64 ~arm64" | ||
CRATES="" | ||
else | ||
EGIT_COMMIT="78381b1b1995f5cebfd2a36a70d616ce6ba538a4" # trunk | ||
KEYWORDS="amd64 arm64" | ||
SRC_URI="https://github.com/flatcar/${PN}/archive/${EGIT_COMMIT}.tar.gz -> flatcar-${PN}-${EGIT_COMMIT}.tar.gz" | ||
S="${WORKDIR}/${PN}-${EGIT_COMMIT}" | ||
|
||
CRATES=" | ||
[email protected] | ||
|
@@ -227,11 +230,11 @@ else | |
" | ||
fi | ||
|
||
inherit cargo git-r3 | ||
inherit cargo | ||
|
||
DESCRIPTION="Prototype Omaha Rust implementation" | ||
HOMEPAGE="https://github.com/flatcar/ue-rs" | ||
SRC_URI="${CARGO_CRATE_URIS}" | ||
SRC_URI+=" ${CARGO_CRATE_URIS}" | ||
|
||
LICENSE="Apache-2.0" | ||
SLOT="0" | ||
|