mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-18 02:16:59 +02:00
Merge pull request #329 from marineam/coreinit
fix(app-admin/coreinit): Switch to new 'stable' ebuild.
This commit is contained in:
commit
0a9e74d331
1
sdk_container/src/third_party/coreos-overlay/app-admin/coreinit/coreinit-0.0.1-r1.ebuild
vendored
Symbolic link
1
sdk_container/src/third_party/coreos-overlay/app-admin/coreinit/coreinit-0.0.1-r1.ebuild
vendored
Symbolic link
@ -0,0 +1 @@
|
|||||||
|
coreinit-9999.ebuild
|
@ -1,15 +1,19 @@
|
|||||||
#
|
# Copyright (c) 2014 CoreOS, Inc.. All rights reserved.
|
||||||
# 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
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
# $Header:$
|
|
||||||
#
|
|
||||||
|
|
||||||
EAPI=4
|
EAPI=4
|
||||||
CROS_WORKON_PROJECT="coreos/coreinit"
|
CROS_WORKON_PROJECT="coreos/coreinit"
|
||||||
CROS_WORKON_LOCALNAME="coreinit"
|
CROS_WORKON_LOCALNAME="coreinit"
|
||||||
CROS_WORKON_REPO="git://github.com"
|
CROS_WORKON_REPO="git://github.com"
|
||||||
inherit toolchain-funcs cros-workon systemd
|
|
||||||
|
if [[ "${PV}" == 9999 ]]; then
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
else
|
||||||
|
CROS_WORKON_COMMIT="02daf08f4ae548ad430d4e5084dc3b0de1138221"
|
||||||
|
KEYWORDS="amd64"
|
||||||
|
fi
|
||||||
|
|
||||||
|
inherit cros-workon systemd
|
||||||
|
|
||||||
DESCRIPTION="coreinit"
|
DESCRIPTION="coreinit"
|
||||||
HOMEPAGE="https://github.com/coreos/coreinit"
|
HOMEPAGE="https://github.com/coreos/coreinit"
|
||||||
@ -17,18 +21,17 @@ SRC_URI=""
|
|||||||
|
|
||||||
LICENSE="Apache-2.0"
|
LICENSE="Apache-2.0"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="amd64"
|
|
||||||
IUSE=""
|
IUSE=""
|
||||||
|
|
||||||
DEPEND=">=dev-lang/go-1.1"
|
DEPEND=">=dev-lang/go-1.1"
|
||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
./build
|
./build || die
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
dobin ${S}/coreinit
|
dobin ${S}/bin/coreinit
|
||||||
dobin ${S}/corectl
|
dobin ${S}/bin/corectl
|
||||||
|
|
||||||
systemd_dounit "${FILESDIR}"/${PN}.service
|
systemd_dounit "${FILESDIR}"/${PN}.service
|
||||||
systemd_enable_service multi-user.target ${PN}.service
|
systemd_enable_service multi-user.target ${PN}.service
|
||||||
|
Loading…
Reference in New Issue
Block a user