Add support for Linux ARM64 (#19931)

#1845

Co-authored-by: Lucas Manuel Rodriguez <lucas@fleetdm.com>
Co-authored-by: Roberto Dip <rroperzh@gmail.com>
This commit is contained in:
Dante Catalfamo
2024-07-17 16:07:59 -04:00
committed by GitHub
co-authored by Lucas Manuel Rodriguez Roberto Dip
parent d20ccd65d7
commit ecf2346ace
27 changed files with 424 additions and 38 deletions
+2 -2
View File
@@ -259,7 +259,7 @@ func updatesAddFunc(c *cli.Context) error {
case name == "desktop" && platform == "windows":
// This is a special case for the desktop target on Windows.
dstPath = filepath.Join(filepath.Dir(dstPath), constant.DesktopAppExecName+".exe")
case name == "desktop" && platform == "linux":
case name == "desktop" && (platform == "linux" || platform == "linux-arm64"):
// This is a special case for the desktop target on Linux.
dstPath += ".tar.gz"
// The convention for Windows extensions is to use the extension `.ext.exe`
@@ -352,7 +352,7 @@ func updatesRotateCommand() *cli.Command {
Usage: "Rotate signing keys",
ArgsUsage: "<role>",
Description: `Rotate the signing keys used for updates metadata signing. This should be used when keys are compromised or expiring.
role must be one of ['root', 'targets', 'timestamp', 'snapshot']
`,
Flags: updatesFlags(),