mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-14 08:26:57 +02:00
fix(app-admin/etcd*): Use correct version layout
etcd client and etcd were not rebuilding because 9999 was not masked. Fix this.
This commit is contained in:
parent
81db9a59bf
commit
306f88f4a3
1
sdk_container/src/third_party/coreos-overlay/app-admin/etcd-client/etcd-client-0.0.1-r1.ebuild
vendored
Symbolic link
1
sdk_container/src/third_party/coreos-overlay/app-admin/etcd-client/etcd-client-0.0.1-r1.ebuild
vendored
Symbolic link
@ -0,0 +1 @@
|
||||
etcd-client-0.0.1.ebuild
|
36
sdk_container/src/third_party/coreos-overlay/app-admin/etcd-client/etcd-client-0.0.1.ebuild
vendored
Normal file
36
sdk_container/src/third_party/coreos-overlay/app-admin/etcd-client/etcd-client-0.0.1.ebuild
vendored
Normal file
@ -0,0 +1,36 @@
|
||||
#
|
||||
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
|
||||
# Copyright (c) 2013 CoreOS, Inc.. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header:$
|
||||
#
|
||||
|
||||
EAPI=2
|
||||
CROS_WORKON_PROJECT="coreos/etcd-client"
|
||||
CROS_WORKON_LOCALNAME="etcd-client"
|
||||
CROS_WORKON_REPO="git://github.com"
|
||||
CROS_WORKON_COMMIT="350501cefd98d7d816efaf7c650ad49c6c3dbc89"
|
||||
inherit toolchain-funcs cros-workon systemd
|
||||
|
||||
DESCRIPTION="etcd-client"
|
||||
HOMEPAGE="https://github.com/xiangli-cmu/etcd-client"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/go-1.0.2"
|
||||
GOROOT="${ED}usr/$(get_libdir)/go"
|
||||
GOPKG="${PN}"
|
||||
|
||||
src_compile() {
|
||||
export GOPATH="${S}"
|
||||
go get
|
||||
go build -o ${PN} || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${S}/${PN} || die
|
||||
}
|
@ -17,7 +17,7 @@ SRC_URI=""
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm x86"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/go-1.0.2"
|
||||
|
1
sdk_container/src/third_party/coreos-overlay/app-admin/etcd/etcd-0.0.1-r1.ebuild
vendored
Symbolic link
1
sdk_container/src/third_party/coreos-overlay/app-admin/etcd/etcd-0.0.1-r1.ebuild
vendored
Symbolic link
@ -0,0 +1 @@
|
||||
etcd-0.0.1.ebuild
|
38
sdk_container/src/third_party/coreos-overlay/app-admin/etcd/etcd-0.0.1.ebuild
vendored
Normal file
38
sdk_container/src/third_party/coreos-overlay/app-admin/etcd/etcd-0.0.1.ebuild
vendored
Normal file
@ -0,0 +1,38 @@
|
||||
#
|
||||
# Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
|
||||
# Copyright (c) 2013 CoreOS, Inc.. All rights reserved.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header:$
|
||||
#
|
||||
|
||||
EAPI=2
|
||||
CROS_WORKON_PROJECT="coreos/etcd"
|
||||
CROS_WORKON_LOCALNAME="etcd"
|
||||
CROS_WORKON_REPO="git://github.com"
|
||||
CROS_WORKON_COMMIT="f4301f994c995d7e91214e082fa18312899b4131"
|
||||
inherit toolchain-funcs cros-workon systemd
|
||||
|
||||
DESCRIPTION="etcd"
|
||||
HOMEPAGE="https://github.com/xiangli-cmu/etcd"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/go-1.0.2"
|
||||
GOROOT="${ED}usr/$(get_libdir)/go"
|
||||
GOPKG="${PN}"
|
||||
|
||||
src_compile() {
|
||||
export GOPATH="${S}"
|
||||
go get
|
||||
go build -o ${PN}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin ${S}/${PN}
|
||||
systemd_dounit "${FILESDIR}"/${PN}.service
|
||||
systemd_enable_service multi-user.target ${PN}.service
|
||||
}
|
@ -17,7 +17,7 @@ SRC_URI=""
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm x86"
|
||||
KEYWORDS="~amd64 ~arm ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/go-1.0.2"
|
||||
|
Loading…
Reference in New Issue
Block a user