mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-21 14:31:02 +02:00
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:
commit
9b254a2e3c
@ -10,7 +10,7 @@ COREOS_GO_PACKAGE="github.com/coreos/torcx"
|
|||||||
if [[ "${PV}" == 9999 ]]; then
|
if [[ "${PV}" == 9999 ]]; then
|
||||||
KEYWORDS="~amd64 ~arm64"
|
KEYWORDS="~amd64 ~arm64"
|
||||||
else
|
else
|
||||||
CROS_WORKON_COMMIT="aa55ecfead8d3d7771ecd52184dbc29a842080d6" # v0.1.3
|
CROS_WORKON_COMMIT="c33a93e8c5e63114fce9569e45a04bfbcac7eb75" # v0.2.0
|
||||||
KEYWORDS="amd64 arm64"
|
KEYWORDS="amd64 arm64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -34,12 +34,12 @@ src_compile() {
|
|||||||
src_install() {
|
src_install() {
|
||||||
local generatordir=/usr/lib/systemd/system-generators
|
local generatordir=/usr/lib/systemd/system-generators
|
||||||
local vendordir=/usr/share/torcx
|
local vendordir=/usr/share/torcx
|
||||||
|
local libcoreosdir=/usr/lib/coreos
|
||||||
|
|
||||||
# dobin "${S}/bin/${ARCH}/torcx"
|
# Install generator and userland.
|
||||||
|
|
||||||
exeinto "${generatordir}"
|
exeinto "${generatordir}"
|
||||||
newexe "${S}/bin/${ARCH}/torcx" torcx-generator
|
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"
|
systemd_dounit "${FILESDIR}/torcx.target"
|
||||||
|
|
||||||
insinto "${vendordir}/profiles"
|
insinto "${vendordir}/profiles"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user