Skip to content

Commit f7fc674

Browse files
authored
fix install prevention on Linux (#6866)
* fix install prevention on Linux * changelog * remove changelog fragment as the bug didn't land in any release yet * upgate go-sysinfo module * go mod tidy * notice * CRLF to LF
1 parent e274a84 commit f7fc674

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

NOTICE.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2375,11 +2375,11 @@ Contents of probable licence file $GOMODCACHE/github.com/elastic/go-licenser@v0.
23752375

23762376
--------------------------------------------------------------------------------
23772377
Dependency : github.com/elastic/go-sysinfo
2378-
Version: v1.15.0
2378+
Version: v1.15.1
23792379
Licence type (autodetected): Apache-2.0
23802380
--------------------------------------------------------------------------------
23812381

2382-
Contents of probable licence file $GOMODCACHE/github.com/elastic/[email protected].0/LICENSE.txt:
2382+
Contents of probable licence file $GOMODCACHE/github.com/elastic/[email protected].1/LICENSE.txt:
23832383

23842384

23852385
Apache License

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ require (
2121
github.com/elastic/elastic-transport-go/v8 v8.6.0
2222
github.com/elastic/go-elasticsearch/v8 v8.17.0
2323
github.com/elastic/go-licenser v0.4.2
24-
github.com/elastic/go-sysinfo v1.15.0
24+
github.com/elastic/go-sysinfo v1.15.1
2525
github.com/elastic/go-ucfg v0.8.8
2626
github.com/elastic/mock-es v0.0.0-20241101195702-0a41fa3d30d9
2727
github.com/elastic/opentelemetry-collector-components/connector/signaltometricsconnector v0.3.0

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,8 +500,8 @@ github.com/elastic/go-sfdc v0.0.0-20241010131323-8e176480d727 h1:yuiN60oaQUz2PtN
500500
github.com/elastic/go-sfdc v0.0.0-20241010131323-8e176480d727/go.mod h1:sw1pzz4pIqzDQxFWt3dFoG2uIUFAfThxlMfWpjH590E=
501501
github.com/elastic/go-structform v0.0.12 h1:HXpzlAKyej8T7LobqKDThUw7BMhwV6Db24VwxNtgxCs=
502502
github.com/elastic/go-structform v0.0.12/go.mod h1:CZWf9aIRYY5SuKSmOhtXScE5uQiLZNqAFnwKR4OrIM4=
503-
github.com/elastic/go-sysinfo v1.15.0 h1:54pRFlAYUlVNQ2HbXzLVZlV+fxS7Eax49stzg95M4Xw=
504-
github.com/elastic/go-sysinfo v1.15.0/go.mod h1:jPSuTgXG+dhhh0GKIyI2Cso+w5lPJ5PvVqKlL8LV/Hk=
503+
github.com/elastic/go-sysinfo v1.15.1 h1:zBmTnFEXxIQ3iwcQuk7MzaUotmKRp3OabbbWM8TdzIQ=
504+
github.com/elastic/go-sysinfo v1.15.1/go.mod h1:jPSuTgXG+dhhh0GKIyI2Cso+w5lPJ5PvVqKlL8LV/Hk=
505505
github.com/elastic/go-ucfg v0.8.8 h1:54KIF/2zFKfl0MzsSOCGOsZ3O2bnjFQJ0nDJcLhviyk=
506506
github.com/elastic/go-ucfg v0.8.8/go.mod h1:4E8mPOLSUV9hQ7sgLEJ4bvt0KhMuDJa8joDT2QGAEKA=
507507
github.com/elastic/go-windows v1.0.2 h1:yoLLsAsV5cfg9FLhZ9EXZ2n2sQFKeDYrHenkcivY4vI=

specs/endpoint-security.spec.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ inputs:
1616
- UPGRADE
1717
runtime:
1818
preventions:
19-
- condition: ${runtime.arch} != ${runtime.native_arch}
19+
- condition: ${runtime.native_arch} != '' and ${runtime.arch} != ${runtime.native_arch}
2020
message: "Elastic Defend cannot run on an emulated architecture"
2121
- condition: ${runtime.arch} == 'arm64' and ${runtime.family} == 'redhat' and ${runtime.major} == 7
2222
message: "Elastic Defend doesn't support RHEL7 on arm64"

0 commit comments

Comments
 (0)