mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-16 01:16:59 +02:00
Merge pull request #258 from polvi/add-coreinit
feat(coreinit): add coreinit to the experimental package, drop systemd-r...
This commit is contained in:
commit
0db2541c5d
35
sdk_container/src/third_party/coreos-overlay/app-admin/coreinit/coreinit-9999.ebuild
vendored
Normal file
35
sdk_container/src/third_party/coreos-overlay/app-admin/coreinit/coreinit-9999.ebuild
vendored
Normal file
@ -0,0 +1,35 @@
|
||||
#
|
||||
# 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=4
|
||||
CROS_WORKON_PROJECT="coreos/coreinit"
|
||||
CROS_WORKON_LOCALNAME="coreinit"
|
||||
CROS_WORKON_REPO="git://github.com"
|
||||
inherit toolchain-funcs cros-workon systemd
|
||||
|
||||
DESCRIPTION="coreinit"
|
||||
HOMEPAGE="https://github.com/coreos/coreinit"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/go-1.1"
|
||||
|
||||
src_compile() {
|
||||
./build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin ${S}/coreinit
|
||||
dobin ${S}/corectl
|
||||
|
||||
systemd_dounit "${FILESDIR}"/${PN}.service
|
||||
systemd_enable_service multi-user.target ${PN}.service
|
||||
}
|
8
sdk_container/src/third_party/coreos-overlay/app-admin/coreinit/files/coreinit.service
vendored
Normal file
8
sdk_container/src/third_party/coreos-overlay/app-admin/coreinit/files/coreinit.service
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
[Unit]
|
||||
Description=coreinit
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/coreinit
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
@ -14,5 +14,5 @@ IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
app-admin/systemd-rest
|
||||
app-admin/coreinit
|
||||
"
|
||||
|
Loading…
Reference in New Issue
Block a user