From 83830d870fcf907325793e2405dd7fe67e807246 Mon Sep 17 00:00:00 2001 From: Luca Bruno Date: Fri, 15 Jun 2018 13:15:58 +0000 Subject: [PATCH] app-arch/torcx: update to 0.2.0 and install cli This bumps torcx to 0.2.0, and also install the userland CLI part (out of $PATH, at the moment it is only consumed by bootengine and update_engine). Ref: https://github.com/coreos/torcx/releases/tag/v0.2.0 --- .../torcx/{torcx-0.1.3-r2.ebuild => torcx-0.2.0.ebuild} | 0 .../coreos-overlay/app-arch/torcx/torcx-9999.ebuild | 8 ++++---- 2 files changed, 4 insertions(+), 4 deletions(-) rename sdk_container/src/third_party/coreos-overlay/app-arch/torcx/{torcx-0.1.3-r2.ebuild => torcx-0.2.0.ebuild} (100%) diff --git a/sdk_container/src/third_party/coreos-overlay/app-arch/torcx/torcx-0.1.3-r2.ebuild b/sdk_container/src/third_party/coreos-overlay/app-arch/torcx/torcx-0.2.0.ebuild similarity index 100% rename from sdk_container/src/third_party/coreos-overlay/app-arch/torcx/torcx-0.1.3-r2.ebuild rename to sdk_container/src/third_party/coreos-overlay/app-arch/torcx/torcx-0.2.0.ebuild diff --git a/sdk_container/src/third_party/coreos-overlay/app-arch/torcx/torcx-9999.ebuild b/sdk_container/src/third_party/coreos-overlay/app-arch/torcx/torcx-9999.ebuild index 55ab743e6e..087839041b 100644 --- a/sdk_container/src/third_party/coreos-overlay/app-arch/torcx/torcx-9999.ebuild +++ b/sdk_container/src/third_party/coreos-overlay/app-arch/torcx/torcx-9999.ebuild @@ -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"