mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-23 23:41:10 +02:00
commit
86b6c57d9d
@ -6,7 +6,7 @@ CROS_WORKON_PROJECT="coreos/fleet"
|
||||
CROS_WORKON_LOCALNAME="fleet"
|
||||
CROS_WORKON_REPO="git://github.com"
|
||||
COREOS_GO_PACKAGE="github.com/coreos/fleet"
|
||||
inherit coreos-doc cros-workon coreos-go systemd
|
||||
inherit cros-workon coreos-go systemd
|
||||
|
||||
if [[ "${PV}" == 9999 ]]; then
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
@ -43,6 +43,4 @@ src_install() {
|
||||
# Install sysusers.d snippet which adds fleet group and adds core user into it
|
||||
insinto /usr/lib/sysusers.d/
|
||||
newins "${FILESDIR}"/sysusers.d/${PN}.conf ${PN}.conf
|
||||
|
||||
coreos-dodoc -r Documentation/*
|
||||
}
|
||||
|
@ -6,7 +6,7 @@ CROS_WORKON_PROJECT="coreos/coreos-cloudinit"
|
||||
CROS_WORKON_LOCALNAME="coreos-cloudinit"
|
||||
CROS_WORKON_REPO="git://github.com"
|
||||
COREOS_GO_PACKAGE="github.com/coreos/coreos-cloudinit"
|
||||
inherit coreos-doc cros-workon systemd toolchain-funcs udev coreos-go
|
||||
inherit cros-workon systemd toolchain-funcs udev coreos-go
|
||||
|
||||
if [[ "${PV}" == 9999 ]]; then
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
@ -53,6 +53,4 @@ src_install() {
|
||||
systemd_dounit units/*.target
|
||||
systemd_enable_service default.target system-config.target
|
||||
systemd_enable_service default.target user-config.target
|
||||
|
||||
coreos-dodoc -r Documentation/*
|
||||
}
|
||||
|
@ -8,7 +8,7 @@ EAPI=5
|
||||
CROS_WORKON_PROJECT="coreos/etcd"
|
||||
CROS_WORKON_LOCALNAME="etcd"
|
||||
CROS_WORKON_REPO="git://github.com"
|
||||
inherit coreos-doc toolchain-funcs cros-workon systemd
|
||||
inherit toolchain-funcs cros-workon systemd
|
||||
|
||||
if [[ "${PV}" == 9999 ]]; then
|
||||
KEYWORDS="~amd64"
|
||||
@ -37,6 +37,4 @@ src_install() {
|
||||
|
||||
systemd_dounit "${FILESDIR}"/${PN}.service
|
||||
systemd_dotmpfilesd "${FILESDIR}"/${PN}.conf
|
||||
|
||||
coreos-dodoc -r Documentation/*
|
||||
}
|
@ -9,7 +9,7 @@ CROS_WORKON_PROJECT="coreos/etcd"
|
||||
CROS_WORKON_LOCALNAME="etcd"
|
||||
CROS_WORKON_REPO="git://github.com"
|
||||
COREOS_GO_PACKAGE="github.com/coreos/etcd"
|
||||
inherit coreos-doc coreos-go toolchain-funcs cros-workon systemd
|
||||
inherit coreos-go toolchain-funcs cros-workon systemd
|
||||
|
||||
if [[ "${PV}" == 9999 ]]; then
|
||||
CROS_WORKON_COMMIT=${CROS_WORKON_COMMIT:="HEAD"}
|
||||
@ -42,6 +42,4 @@ src_install() {
|
||||
|
||||
systemd_dounit "${FILESDIR}/${PN}${SLOT}.service"
|
||||
systemd_dotmpfilesd "${FILESDIR}/${PN}${SLOT}.conf"
|
||||
|
||||
coreos-dodoc -r Documentation/*
|
||||
}
|
||||
|
@ -1,23 +0,0 @@
|
||||
# Copyright 2015 CoreOS, Inc.
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
# @ECLASS: coreos-doc.eclass
|
||||
# @BLURB: utility function for including documentation
|
||||
|
||||
# @FUNCTION: coreos-dodoc
|
||||
# @USAGE: [-r] <list of docs>
|
||||
coreos-dodoc() {
|
||||
debug-print-function ${FUNCNAME} "${@}"
|
||||
|
||||
local flags
|
||||
if [[ "${1}" == "-r" ]] ; then
|
||||
flags="-r"
|
||||
shift
|
||||
fi
|
||||
|
||||
[[ "${#}" -lt 1 ]] && die "${0}: at least one file needed"
|
||||
|
||||
insinto "/usr/share/coreos/doc/${P}/"
|
||||
doins $flags "$@"
|
||||
}
|
@ -6,7 +6,7 @@ CROS_WORKON_PROJECT="coreos/ignition"
|
||||
CROS_WORKON_LOCALNAME="ignition"
|
||||
CROS_WORKON_REPO="git://github.com"
|
||||
COREOS_GO_PACKAGE="github.com/coreos/ignition"
|
||||
inherit coreos-doc coreos-go cros-workon systemd udev
|
||||
inherit coreos-go cros-workon systemd udev
|
||||
|
||||
if [[ "${PV}" == 9999 ]]; then
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
@ -35,6 +35,4 @@ src_install() {
|
||||
systemd_dounit "${FILESDIR}"/ignition.target
|
||||
systemd_dounit "${FILESDIR}"/ignition-disks.service
|
||||
systemd_dounit "${FILESDIR}"/ignition-files.service
|
||||
|
||||
coreos-dodoc -r doc/*
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user