mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-27 08:31:04 +02:00
overlay app-emulation/amazon-ssm-agent: remove oem spec
- drop the OEM mention - install things under /usr/share/amazon/ssm - add systemd unit from the upstream Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
This commit is contained in:
parent
e6209c4c2b
commit
8ba940b931
@ -5,7 +5,7 @@ EAPI=7
|
|||||||
COREOS_GO_PACKAGE="${GITHUB_URI}"
|
COREOS_GO_PACKAGE="${GITHUB_URI}"
|
||||||
COREOS_GO_VERSION="go1.19"
|
COREOS_GO_VERSION="go1.19"
|
||||||
|
|
||||||
inherit coreos-go-depend golang-vcs-snapshot
|
inherit coreos-go-depend golang-vcs-snapshot systemd
|
||||||
|
|
||||||
EGO_PN="github.com/aws/${PN}"
|
EGO_PN="github.com/aws/${PN}"
|
||||||
DESCRIPTION="AWS Systems Manager Agent"
|
DESCRIPTION="AWS Systems Manager Agent"
|
||||||
@ -48,10 +48,10 @@ src_compile() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
into "/oem"
|
|
||||||
dobin bin/amazon-ssm-agent bin/ssm-cli bin/ssm-document-worker bin/ssm-session-logger bin/ssm-session-worker
|
dobin bin/amazon-ssm-agent bin/ssm-cli bin/ssm-document-worker bin/ssm-session-logger bin/ssm-session-worker
|
||||||
# files used by ignition on a first run
|
insinto "/usr/share/amazon/ssm"
|
||||||
insinto "/oem/ssm"
|
|
||||||
newins seelog_unix.xml seelog.xml.template
|
newins seelog_unix.xml seelog.xml.template
|
||||||
doins amazon-ssm-agent.json.template
|
doins amazon-ssm-agent.json.template
|
||||||
|
|
||||||
|
systemd_dounit packaging/linux/amazon-ssm-agent.service
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user