Merge pull request #3293 from lucab/ups/torcx-v0.2.0

app-arch/torcx: update to to 0.2.0 and install cli
This commit is contained in:
Luca Bruno 2018-06-19 08:46:51 +00:00 committed by GitHub
commit 9b254a2e3c
2 changed files with 4 additions and 4 deletions

View File

@ -10,7 +10,7 @@ COREOS_GO_PACKAGE="github.com/coreos/torcx"
if [[ "${PV}" == 9999 ]]; then
KEYWORDS="~amd64 ~arm64"
else
CROS_WORKON_COMMIT="aa55ecfead8d3d7771ecd52184dbc29a842080d6" # v0.1.3
CROS_WORKON_COMMIT="c33a93e8c5e63114fce9569e45a04bfbcac7eb75" # v0.2.0
KEYWORDS="amd64 arm64"
fi
@ -34,12 +34,12 @@ src_compile() {
src_install() {
local generatordir=/usr/lib/systemd/system-generators
local vendordir=/usr/share/torcx
local libcoreosdir=/usr/lib/coreos
# dobin "${S}/bin/${ARCH}/torcx"
# Install generator and userland.
exeinto "${generatordir}"
newexe "${S}/bin/${ARCH}/torcx" torcx-generator
# dosym ../../../bin/torcx "${generatordir}/torcx-generator"
dosym ../systemd/system-generators/torcx-generator "${libcoreosdir}/torcx"
systemd_dounit "${FILESDIR}/torcx.target"
insinto "${vendordir}/profiles"