mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-30 10:01:32 +02:00
feat(coreos-base/motd-http): add coreos-base/motd
add the initial version of the coreos-base/motd-http ebuild.
This commit is contained in:
parent
d1fd5812e5
commit
9dabcaac88
@ -145,6 +145,7 @@ RDEPEND="${RDEPEND}
|
||||
sys-apps/systemd
|
||||
sys-apps/systemd-sysv-utils
|
||||
app-admin/systemd-rest
|
||||
coreos-base/motd-http
|
||||
sys-apps/util-linux
|
||||
sys-auth/pam_pwdfile
|
||||
sys-fs/e2fsprogs
|
||||
|
5
sdk_container/src/third_party/coreos-overlay/coreos-base/motd-http/files/motd-http.service
vendored
Normal file
5
sdk_container/src/third_party/coreos-overlay/coreos-base/motd-http/files/motd-http.service
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/motd-http
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
33
sdk_container/src/third_party/coreos-overlay/coreos-base/motd-http/motd-http-9999.ebuild
vendored
Normal file
33
sdk_container/src/third_party/coreos-overlay/coreos-base/motd-http/motd-http-9999.ebuild
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
#
|
||||
# Copyright (c) 2013 Brandon Philips. All rights reserved.
|
||||
# Distributed under the terms of the MIT License
|
||||
# $Header:$
|
||||
#
|
||||
|
||||
EAPI=2
|
||||
CROS_WORKON_PROJECT="coreos/motd-http"
|
||||
CROS_WORKON_LOCALNAME="motd-http"
|
||||
inherit toolchain-funcs cros-workon systemd
|
||||
|
||||
DESCRIPTION="systemd over rest"
|
||||
HOMEPAGE="https://bitbucket.org/coreos/motd-http"
|
||||
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() {
|
||||
GOPATH="${S}" go build ${PN}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dosbin ${S}/${PN}
|
||||
systemd_dounit "${FILESDIR}"/${PN}.service
|
||||
systemd_enable_service multi-user.target ${PN}.service
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user