From 0d964929cbfe2cc76cbe18542206fac777365a64 Mon Sep 17 00:00:00 2001 From: Itxaka Date: Tue, 1 Oct 2024 11:28:08 +0200 Subject: [PATCH 1/3] Move to use kairos-release Signed-off-by: Itxaka --- pkg/action/build-iso.go | 14 ++++++++++---- pkg/action/build-uki.go | 9 +++++++-- 2 files changed, 17 insertions(+), 6 deletions(-) diff --git a/pkg/action/build-iso.go b/pkg/action/build-iso.go index 0ebf9de..b52fdd5 100644 --- a/pkg/action/build-iso.go +++ b/pkg/action/build-iso.go @@ -186,13 +186,19 @@ func (b BuildISOAction) createEFI(rootdir string, isoDir string) error { } // Ubuntu efi searches for the grub.cfg file under /EFI/ubuntu/grub.cfg while we store it under /boot/grub2/grub.cfg // workaround this by copying it there as well - // read the os-release from the rootfs to know if we are creating a ubuntu based iso - flavor, err := sdk.OSRelease("FLAVOR", filepath.Join(rootdir, "etc/os-release")) + // read the kairos-release from the rootfs to know if we are creating a ubuntu based iso + var flavor string + flavor, err = sdk.OSRelease("FLAVOR", filepath.Join(rootdir, "etc/kairos-release")) if err != nil { - b.cfg.Logger.Warnf("Failed reading os-release from %s: %v", filepath.Join(rootdir, "etc/os-release"), err) + // fallback to os-release + flavor, err = sdk.OSRelease("FLAVOR", filepath.Join(rootdir, "etc/os-release")) + if err != nil { + b.cfg.Logger.Warnf("Failed reading os-release from %s and %s: %v", filepath.Join(rootdir, "etc/kairos-release"), filepath.Join(rootdir, "etc/os-release"), err) + return err + } } b.cfg.Logger.Infof("Detected Flavor: %s", flavor) - if err == nil && strings.Contains(strings.ToLower(flavor), "ubuntu") { + if strings.Contains(strings.ToLower(flavor), "ubuntu") { b.cfg.Logger.Infof("Ubuntu based ISO detected, copying grub.cfg to /EFI/ubuntu/grub.cfg") err = utils.MkdirAll(b.cfg.Fs, filepath.Join(isoDir, "EFI/ubuntu/"), constants.DirPerm) if err != nil { diff --git a/pkg/action/build-uki.go b/pkg/action/build-uki.go index d02acc5..0b077f0 100644 --- a/pkg/action/build-uki.go +++ b/pkg/action/build-uki.go @@ -738,9 +738,14 @@ func ZstdFile(sourcePath, targetPath string) error { } func findKairosVersion(sourceDir string) (string, error) { - osReleaseBytes, err := os.ReadFile(filepath.Join(sourceDir, "etc", "os-release")) + var osReleaseBytes []byte + osReleaseBytes, err := os.ReadFile(filepath.Join(sourceDir, "etc", "kairos-release")) if err != nil { - return "", fmt.Errorf("reading os-release file: %w", err) + // fallback to os-release + osReleaseBytes, err = os.ReadFile(filepath.Join(sourceDir, "etc", "os-release")) + if err != nil { + return "", fmt.Errorf("reading kairos-release file: %w", err) + } } re := regexp.MustCompile("(?m)^KAIROS_RELEASE=\"(.*)\"") From bfef7ff090a26a0f1fc144821f075e2fc3b0949b Mon Sep 17 00:00:00 2001 From: Itxaka Date: Mon, 7 Oct 2024 11:44:42 +0200 Subject: [PATCH 2/3] Bump sdk Signed-off-by: Itxaka --- go.mod | 4 ++-- go.sum | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/go.mod b/go.mod index be00a24..66a3c16 100644 --- a/go.mod +++ b/go.mod @@ -11,7 +11,7 @@ require ( github.com/google/uuid v1.6.0 github.com/kairos-io/go-ukify v0.2.2 github.com/kairos-io/kairos-agent/v2 v2.14.6 - github.com/kairos-io/kairos-sdk v0.5.0 + github.com/kairos-io/kairos-sdk v0.6.0 github.com/klauspost/compress v1.17.10 github.com/mitchellh/mapstructure v1.5.0 github.com/mudler/go-processmanager v0.0.0-20240820160718-8b802d3ecf82 @@ -123,7 +123,7 @@ require ( github.com/moby/sys/sequential v0.5.0 // indirect github.com/moby/sys/userns v0.1.0 // indirect github.com/mudler/entities v0.8.1 // indirect - github.com/mudler/yip v1.10.0 // indirect + github.com/mudler/yip v1.11.0 // indirect github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646 // indirect github.com/opencontainers/go-digest v1.0.0 // indirect github.com/opencontainers/image-spec v1.1.0 // indirect diff --git a/go.sum b/go.sum index 82a0405..dd283ef 100644 --- a/go.sum +++ b/go.sum @@ -653,8 +653,6 @@ github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7V github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= github.com/kairos-io/go-ukify v0.2.2 h1:gY3iFcula7BnZHH23fvJv91SFhdqvrTb+xhbxSjF9Fo= github.com/kairos-io/go-ukify v0.2.2/go.mod h1:AgMOguzoI9hYZFYA6XA24fEhxY8Tq+7mHKovA3jsTys= -github.com/kairos-io/kairos-agent/v2 v2.14.6 h1:H5vVASPqO6vT/ZIiQwygGypL2XmFGmFJExmhk/IPCw4= -github.com/kairos-io/kairos-agent/v2 v2.14.6/go.mod h1:Ty/gWUPNvHqztTms0Jyi4Fga5gk2dSUKRc8XjlATUrg= github.com/kairos-io/kairos-agent/v2 v2.13.4 h1:nM7FprcvjfYKFE+pTrk7o729eyvZRknPpRjz1L9Ofy0= github.com/kairos-io/kairos-agent/v2 v2.13.4/go.mod h1:jL2olRMpUgWHVtSsCZIhShWYuCK2eCwr6f1xOAjJs/A= github.com/kairos-io/kairos-agent/v2 v2.13.5 h1:WEEU6efzWlsbT6KQNir6h3WmrdVgwGq7kab/xtVNvOs= @@ -691,6 +689,8 @@ github.com/kairos-io/kairos-sdk v0.4.6 h1:6dbKozJTku99P2vytz9M0xAnpkKKiAggSMPfT2 github.com/kairos-io/kairos-sdk v0.4.6/go.mod h1:QXYmZ2BMrJ0Iyp7I3+rvCYpZRMvwOtK/6IGCLhNL4tY= github.com/kairos-io/kairos-sdk v0.5.0 h1:CtYz2WXe5huKkjPSro2J1kiLVjDr6T9909uckK17Bqw= github.com/kairos-io/kairos-sdk v0.5.0/go.mod h1:RO5ad3gCd2O2zJE5mEnPHLUy/+fRKKQL4fe7xV6FtyA= +github.com/kairos-io/kairos-sdk v0.6.0 h1:A096lZVHE4rkvA5kG0Oss0085T0noUcf7AeppWGySR8= +github.com/kairos-io/kairos-sdk v0.6.0/go.mod h1:7Y6Y/McniCyAJcmQfoTfKd09cwmwS40URaIVbJn8V2k= github.com/kendru/darwin/go/depgraph v0.0.0-20221105232959-877d6a81060c h1:eKb4PqwAMhlqwXw0W3atpKaYaPGlXE/Fwh+xpCEYaPk= github.com/kendru/darwin/go/depgraph v0.0.0-20221105232959-877d6a81060c/go.mod h1:VOfm8h1NySetVlpHDSnbpCMsvCgYaU+YDn4XezUy2+4= github.com/kevinburke/ssh_config v0.0.0-20190725054713-01f96b0aa0cd/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM= @@ -810,6 +810,7 @@ github.com/mudler/yip v1.9.4 h1:yaiPKWG5kt/DTNCf7ZGfyWdb1j5c06zYqWF3F+SVKsE= github.com/mudler/yip v1.9.4/go.mod h1:nqf8JFCq7a7rIkm7cSs+SOc8QbiyvVJ/xLbUw4GgzFs= github.com/mudler/yip v1.10.0 h1:MwEIySEfSRRwTUz2BmQQpRn6+M7jqVGf/OldsepBvz0= github.com/mudler/yip v1.10.0/go.mod h1:gwH7iGcr1Jimox2xKtN2AprEO00GzY7smvuycqCL7+Y= +github.com/mudler/yip v1.11.0/go.mod h1:gwH7iGcr1Jimox2xKtN2AprEO00GzY7smvuycqCL7+Y= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/mwitkow/go-proto-validators v0.0.0-20180403085117-0950a7990007/go.mod h1:m2XC9Qq0AlmmVksL6FktJCdTYyLk7V3fKyp0sl1yWQo= From 4eab5f537c75e11248675efc92f18a3c87f651cc Mon Sep 17 00:00:00 2001 From: Itxaka Date: Mon, 7 Oct 2024 11:47:52 +0200 Subject: [PATCH 3/3] bump agent Signed-off-by: Itxaka --- go.mod | 2 +- go.sum | 53 +++-------------------------------------------------- 2 files changed, 4 insertions(+), 51 deletions(-) diff --git a/go.mod b/go.mod index b51ba27..28de724 100644 --- a/go.mod +++ b/go.mod @@ -10,8 +10,8 @@ require ( github.com/google/go-containerregistry v0.20.2 github.com/google/uuid v1.6.0 github.com/kairos-io/go-ukify v0.2.2 + github.com/kairos-io/kairos-agent/v2 v2.15.0-rc1 github.com/kairos-io/kairos-sdk v0.6.0 - github.com/kairos-io/kairos-agent/v2 v2.14.7 github.com/klauspost/compress v1.17.10 github.com/mitchellh/mapstructure v1.5.0 github.com/mudler/go-processmanager v0.0.0-20240820160718-8b802d3ecf82 diff --git a/go.sum b/go.sum index 331db9d..f583f79 100644 --- a/go.sum +++ b/go.sum @@ -286,12 +286,6 @@ github.com/docker/cli v27.1.1+incompatible h1:goaZxOqs4QKxznZjjBWKONQci/MywhtRv2 github.com/docker/cli v27.1.1+incompatible/go.mod h1:JLrzqnKDaYBop7H2jaqPtU4hHvMKP+vjCwu2uszcLI8= github.com/docker/distribution v2.8.2+incompatible h1:T3de5rq0dB1j30rp0sA2rER+m322EBzniBPB6ZIzuh8= github.com/docker/distribution v2.8.2+incompatible/go.mod h1:J2gT2udsDAN96Uj4KfcMRqY0/ypR+oyYUYmja8H+y+w= -github.com/docker/docker v27.1.2+incompatible h1:AhGzR1xaQIy53qCkxARaFluI00WPGtXn0AJuoQsVYTY= -github.com/docker/docker v27.1.2+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= -github.com/docker/docker v27.2.0+incompatible h1:Rk9nIVdfH3+Vz4cyI/uhbINhEZ/oLmc+CBXmH6fbNk4= -github.com/docker/docker v27.2.0+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= -github.com/docker/docker v27.2.1+incompatible h1:fQdiLfW7VLscyoeYEBz7/J8soYFDZV1u6VW6gJEjNMI= -github.com/docker/docker v27.2.1+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/docker v27.3.1+incompatible h1:KttF0XoteNTicmUtBO0L2tP+J7FGRFTjaEF4k6WdhfI= github.com/docker/docker v27.3.1+incompatible/go.mod h1:eEKB0N0r5NX/I1kEveEz05bcu8tLC/8azJZsviup8Sk= github.com/docker/docker-credential-helpers v0.7.0 h1:xtCHsjxogADNZcdv1pKUHXryefjlVRqWqIhk/uXJp0A= @@ -653,44 +647,8 @@ github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7V github.com/julienschmidt/httprouter v1.3.0/go.mod h1:JR6WtHb+2LUe8TCKY3cZOxFyyO8IZAc4RVcycCCAKdM= github.com/kairos-io/go-ukify v0.2.2 h1:gY3iFcula7BnZHH23fvJv91SFhdqvrTb+xhbxSjF9Fo= github.com/kairos-io/go-ukify v0.2.2/go.mod h1:AgMOguzoI9hYZFYA6XA24fEhxY8Tq+7mHKovA3jsTys= -github.com/kairos-io/kairos-agent/v2 v2.13.4 h1:nM7FprcvjfYKFE+pTrk7o729eyvZRknPpRjz1L9Ofy0= -github.com/kairos-io/kairos-agent/v2 v2.13.4/go.mod h1:jL2olRMpUgWHVtSsCZIhShWYuCK2eCwr6f1xOAjJs/A= -github.com/kairos-io/kairos-agent/v2 v2.13.5 h1:WEEU6efzWlsbT6KQNir6h3WmrdVgwGq7kab/xtVNvOs= -github.com/kairos-io/kairos-agent/v2 v2.13.5/go.mod h1:yE4N0jbBUV6maQScBl8KLnmFbbkD+xEUNAzfWF7uGZw= -github.com/kairos-io/kairos-agent/v2 v2.14.0 h1:Xer3EsW5y5HIs8qol582E8BPa8008dttUwcDw12uuRA= -github.com/kairos-io/kairos-agent/v2 v2.14.0/go.mod h1:dPjMFSIKQayYn/0SrowznYZwB5LEGh3TvOwV/Yv+CcU= -github.com/kairos-io/kairos-agent/v2 v2.14.1 h1:FhXv7TJ0iIqPrzK+OpMnyU75OmqEW28NXnynR/oIsiY= -github.com/kairos-io/kairos-agent/v2 v2.14.1/go.mod h1:OCBg6EXasH6AawXRgehWohZravEFmJXaCWmx7vl774w= -github.com/kairos-io/kairos-agent/v2 v2.14.2 h1:/erSUyn7DfuTZct2Bxp9mytp7cUWBgE9jz+oK9RbyKo= -github.com/kairos-io/kairos-agent/v2 v2.14.2/go.mod h1:OCBg6EXasH6AawXRgehWohZravEFmJXaCWmx7vl774w= -github.com/kairos-io/kairos-agent/v2 v2.14.4 h1:CLgEgQwpzy2h1bktWclhqj+wrBUqjaeniEq+hqepPHg= -github.com/kairos-io/kairos-agent/v2 v2.14.4/go.mod h1:OCBg6EXasH6AawXRgehWohZravEFmJXaCWmx7vl774w= -github.com/kairos-io/kairos-agent/v2 v2.14.5 h1:H8bZbAX8z6hqTq1OZHFL/qderxKWeD/Y8Feptq7KP44= -github.com/kairos-io/kairos-agent/v2 v2.14.5/go.mod h1:OCBg6EXasH6AawXRgehWohZravEFmJXaCWmx7vl774w= -github.com/kairos-io/kairos-agent/v2 v2.14.6 h1:H5vVASPqO6vT/ZIiQwygGypL2XmFGmFJExmhk/IPCw4= -github.com/kairos-io/kairos-agent/v2 v2.14.6/go.mod h1:Ty/gWUPNvHqztTms0Jyi4Fga5gk2dSUKRc8XjlATUrg= -github.com/kairos-io/kairos-agent/v2 v2.14.7 h1:0hkaOLkLOR5EJCJlsPj1kXMe1SqdCo59cRyEyoH4bQs= -github.com/kairos-io/kairos-agent/v2 v2.14.7/go.mod h1:Ty/gWUPNvHqztTms0Jyi4Fga5gk2dSUKRc8XjlATUrg= -github.com/kairos-io/kairos-sdk v0.4.1 h1:WF+X30URojMxV7AlzVj0uejvPWG4zq1WNga0swAX4dY= -github.com/kairos-io/kairos-sdk v0.4.1/go.mod h1:lgQAYkh0aWIZg4/CQcC+OPQp95ONs2PzkMIcAq8w6OY= -github.com/kairos-io/kairos-sdk v0.4.2-0.20240903105642-a509f9388eb6 h1:auCG/aP/esvKCq1aeeoyqieTMbRO7WHKs4fY05WWXc0= -github.com/kairos-io/kairos-sdk v0.4.2-0.20240903105642-a509f9388eb6/go.mod h1:0ltpn7BODc+ztbee+2y/GfJMW125H1OFqHxSNqgWObE= -github.com/kairos-io/kairos-sdk v0.4.3-0.20240905081210-705fa3ebfa2a h1:zBGCh/ZPeOHdcbZdATg+LPCypdwx+3WzfD4a1TVwCYs= -github.com/kairos-io/kairos-sdk v0.4.3-0.20240905081210-705fa3ebfa2a/go.mod h1:0ltpn7BODc+ztbee+2y/GfJMW125H1OFqHxSNqgWObE= -github.com/kairos-io/kairos-sdk v0.4.3-0.20240905082603-42cf473c006c h1:jJ1KRqVEHN8QodFaA4maYlbygDwCdvSGbROFDDMk4lo= -github.com/kairos-io/kairos-sdk v0.4.3-0.20240905082603-42cf473c006c/go.mod h1:0ltpn7BODc+ztbee+2y/GfJMW125H1OFqHxSNqgWObE= -github.com/kairos-io/kairos-sdk v0.4.3-0.20240905131825-2d092e9edd4d h1:l2YccCeCefd9AnhO8JxgoqWiI/9aqo/knIV+zsBF/ms= -github.com/kairos-io/kairos-sdk v0.4.3-0.20240905131825-2d092e9edd4d/go.mod h1:0ltpn7BODc+ztbee+2y/GfJMW125H1OFqHxSNqgWObE= -github.com/kairos-io/kairos-sdk v0.4.3 h1:gIC/PsWjv9/Z+6RIHRG9IS5MB9gACw1ZjPAi7VydSSo= -github.com/kairos-io/kairos-sdk v0.4.3/go.mod h1:bxUPzirl8vNtqB48FJ2835QKio3d3PrHbkAejkibV8I= -github.com/kairos-io/kairos-sdk v0.4.4 h1:FolUGqpdTnYYdLwFEOND97QEp2H/htVjW7pHUOmtxNI= -github.com/kairos-io/kairos-sdk v0.4.4/go.mod h1:OIJYihhuiUOeBXHYj9V3R381SAgc/EaKrFepcBxGroM= -github.com/kairos-io/kairos-sdk v0.4.5 h1:ja3GBPODLPx4X/9dEALncpDIHvFH8TdEBMda0H6O49o= -github.com/kairos-io/kairos-sdk v0.4.5/go.mod h1:OIJYihhuiUOeBXHYj9V3R381SAgc/EaKrFepcBxGroM= -github.com/kairos-io/kairos-sdk v0.4.6 h1:6dbKozJTku99P2vytz9M0xAnpkKKiAggSMPfT2vpw68= -github.com/kairos-io/kairos-sdk v0.4.6/go.mod h1:QXYmZ2BMrJ0Iyp7I3+rvCYpZRMvwOtK/6IGCLhNL4tY= -github.com/kairos-io/kairos-sdk v0.5.0 h1:CtYz2WXe5huKkjPSro2J1kiLVjDr6T9909uckK17Bqw= -github.com/kairos-io/kairos-sdk v0.5.0/go.mod h1:RO5ad3gCd2O2zJE5mEnPHLUy/+fRKKQL4fe7xV6FtyA= +github.com/kairos-io/kairos-agent/v2 v2.15.0-rc1 h1:HBjDE3fc44/MaqV72PsZqYaOYS1SetscJw98p2ZvTpI= +github.com/kairos-io/kairos-agent/v2 v2.15.0-rc1/go.mod h1:a8Faigm7sqJZ4yRwdmhUnsImkSsrIvPjJEMhCBOcshc= github.com/kairos-io/kairos-sdk v0.6.0 h1:A096lZVHE4rkvA5kG0Oss0085T0noUcf7AeppWGySR8= github.com/kairos-io/kairos-sdk v0.6.0/go.mod h1:7Y6Y/McniCyAJcmQfoTfKd09cwmwS40URaIVbJn8V2k= github.com/kendru/darwin/go/depgraph v0.0.0-20221105232959-877d6a81060c h1:eKb4PqwAMhlqwXw0W3atpKaYaPGlXE/Fwh+xpCEYaPk= @@ -808,10 +766,7 @@ github.com/mudler/entities v0.8.1 h1:/iZ3VrhZy8bSVr39IqoSwL4jphna2rgSYnJCUZakZ3s github.com/mudler/entities v0.8.1/go.mod h1:exnXZF6qVnu4b9dEiH3sLEyxYBTknfkcJ3UCxyc/dwE= github.com/mudler/go-processmanager v0.0.0-20240820160718-8b802d3ecf82 h1:FVT07EI8njvsD4tC2Hw8Xhactp5AWhsQWD4oTeQuSAU= github.com/mudler/go-processmanager v0.0.0-20240820160718-8b802d3ecf82/go.mod h1:Urp7LG5jylKoDq0663qeBh0pINGcRl35nXdKx82PSoU= -github.com/mudler/yip v1.9.4 h1:yaiPKWG5kt/DTNCf7ZGfyWdb1j5c06zYqWF3F+SVKsE= -github.com/mudler/yip v1.9.4/go.mod h1:nqf8JFCq7a7rIkm7cSs+SOc8QbiyvVJ/xLbUw4GgzFs= -github.com/mudler/yip v1.10.0 h1:MwEIySEfSRRwTUz2BmQQpRn6+M7jqVGf/OldsepBvz0= -github.com/mudler/yip v1.10.0/go.mod h1:gwH7iGcr1Jimox2xKtN2AprEO00GzY7smvuycqCL7+Y= +github.com/mudler/yip v1.11.0 h1:h+npjzSKM9VbShHxa+ywWZzpGIolKvN/e2FOT+rxKkI= github.com/mudler/yip v1.11.0/go.mod h1:gwH7iGcr1Jimox2xKtN2AprEO00GzY7smvuycqCL7+Y= github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod h1:qRWi+5nqEBWmkhHvq77mSJWrCKwh8bxhgT7d/eI7P4U= @@ -1156,8 +1111,6 @@ github.com/yuin/goldmark v1.3.5/go.mod h1:mwnBkeHKe2W/ZEtQ+71ViKU8L12m81fl3OWwC1 github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= github.com/yusufpapurcu/wmi v1.2.4 h1:zFUKzehAFReQwLys1b/iSMl+JQGSCSjtVqQn9bBrPo0= github.com/yusufpapurcu/wmi v1.2.4/go.mod h1:SBZ9tNy3G9/m5Oi98Zks0QjeHVDvuK0qfxQmPyzfmi0= -github.com/zcalusic/sysinfo v1.1.0 h1:79Hqn8h4poVz6T57/4ezXbT5ZkZbZm7u1YU1C4paMyk= -github.com/zcalusic/sysinfo v1.1.0/go.mod h1:NX+qYnWGtJVPV0yWldff9uppNKU4h40hJIRPf/pGLv4= github.com/zcalusic/sysinfo v1.1.2 h1:38KUgZQmCxlN9vUTt4miis4rU5ISJXGXOJ2rY7bMC8g= github.com/zcalusic/sysinfo v1.1.2/go.mod h1:NX+qYnWGtJVPV0yWldff9uppNKU4h40hJIRPf/pGLv4= go.etcd.io/bbolt v1.3.2/go.mod h1:IbVyRI1SCnLcuJnV2u8VeU0CEYM7e686BmAb1XKL+uU=