Update to amazon-ssm-agent-2.3.930.0.
This commit is contained in:
parent
dae9e69f29
commit
a2b16e2d96
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.70 2020/02/21 11:26:07 ajacoutot Exp $
|
||||
# $OpenBSD: Makefile,v 1.71 2020/03/19 19:09:30 ajacoutot Exp $
|
||||
|
||||
# i386: pty_openbsd.go:24:10: undefined: ptmget
|
||||
ONLY_FOR_ARCHS= amd64
|
||||
|
||||
COMMENT= AWS SSM agent
|
||||
|
||||
GH_TAGNAME= 2.3.871.0
|
||||
GH_TAGNAME= 2.3.930.0
|
||||
GH_ACCOUNT= aws
|
||||
GH_PROJECT= amazon-ssm-agent
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (amazon-ssm-agent-2.3.871.0.tar.gz) = Asx1Z+XReyZCnZwqm1RnTFFX7qEWsji1YywVpe1ZA60=
|
||||
SIZE (amazon-ssm-agent-2.3.871.0.tar.gz) = 22201208
|
||||
SHA256 (amazon-ssm-agent-2.3.930.0.tar.gz) = ky03HT7xHfF5zjh6F64BC6qaBNBA6+Xv+0NiGJVvsfA=
|
||||
SIZE (amazon-ssm-agent-2.3.930.0.tar.gz) = 22201849
|
||||
|
@ -1,12 +1,12 @@
|
||||
$OpenBSD: patch-agent_platform_platform_unix_go,v 1.6 2019/12/20 13:27:05 ajacoutot Exp $
|
||||
$OpenBSD: patch-agent_platform_platform_unix_go,v 1.7 2020/03/19 19:09:30 ajacoutot Exp $
|
||||
|
||||
Index: agent/platform/platform_unix.go
|
||||
--- agent/platform/platform_unix.go.orig
|
||||
+++ agent/platform/platform_unix.go
|
||||
@@ -148,6 +148,18 @@ func getPlatformDetails(log log.T) (name string, versi
|
||||
data := strings.Split(string(contentsBytes), " ")
|
||||
name = strings.TrimSpace(data[0])
|
||||
version = strings.TrimSpace(data[1])
|
||||
@@ -185,6 +185,20 @@ func getPlatformDetails(log log.T) (name string, versi
|
||||
if len(data) >= 2 {
|
||||
version = strings.TrimSpace(data[1])
|
||||
}
|
||||
+ } else if runtime.GOOS == "openbsd" {
|
||||
+ log.Debugf(fetchingDetailsMessage, unameCommand)
|
||||
+
|
||||
@ -18,7 +18,9 @@ Index: agent/platform/platform_unix.go
|
||||
+
|
||||
+ data := strings.Split(string(contentsBytes), " ")
|
||||
+ name = strings.TrimSpace(data[0])
|
||||
+ version = strings.TrimSpace(data[1])
|
||||
+ if len(data) >= 2 {
|
||||
+ version = strings.TrimSpace(data[1])
|
||||
+ }
|
||||
} else {
|
||||
log.Debugf(fetchingDetailsMessage, lsbReleaseCommand)
|
||||
|
||||
|
@ -0,0 +1,16 @@
|
||||
$OpenBSD: patch-agent_plugins_inventory_gatherers_application_dataProvider_go,v 1.1 2020/03/19 19:09:30 ajacoutot Exp $
|
||||
|
||||
dataProvider.go:10:2: imported and not used: "github.com/aws/amazon-ssm-agent/agent/plugins/configurepackage/localpackages"
|
||||
gmake: *** [makefile:169: build-openbsd] Error 2
|
||||
|
||||
Index: agent/plugins/inventory/gatherers/application/dataProvider.go
|
||||
--- agent/plugins/inventory/gatherers/application/dataProvider.go.orig
|
||||
+++ agent/plugins/inventory/gatherers/application/dataProvider.go
|
||||
@@ -7,7 +7,6 @@ import (
|
||||
"fmt"
|
||||
|
||||
"github.com/aws/amazon-ssm-agent/agent/context"
|
||||
- "github.com/aws/amazon-ssm-agent/agent/plugins/configurepackage/localpackages"
|
||||
"github.com/aws/amazon-ssm-agent/agent/plugins/inventory/model"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user