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:
Mathieu Tortuyaux 2023-08-24 11:14:28 +02:00
parent e6209c4c2b
commit 8ba940b931
No known key found for this signature in database
GPG Key ID: AC5CCFB52545D9B8

View File

@ -5,7 +5,7 @@ EAPI=7
COREOS_GO_PACKAGE="${GITHUB_URI}"
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}"
DESCRIPTION="AWS Systems Manager Agent"
@ -48,10 +48,10 @@ src_compile() {
}
src_install() {
into "/oem"
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 "/oem/ssm"
insinto "/usr/share/amazon/ssm"
newins seelog_unix.xml seelog.xml.template
doins amazon-ssm-agent.json.template
systemd_dounit packaging/linux/amazon-ssm-agent.service
}