Skip to content

Commit

Permalink
Package armv6l for mystberry
Browse files Browse the repository at this point in the history
Signed-off-by: Mantas Domaševičius <[email protected]>
  • Loading branch information
mdomasevicius committed Apr 3, 2024
1 parent 39432b9 commit e99377c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ci/packages/package.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ func PackageLinuxArm() error {
return env.IfRelease(storage.UploadArtifacts)
}

// PackageLinuxArmv6l builds and stores linux armv6 package
// PackageLinuxArmv6l builds and stores linux armv6l package
func PackageLinuxArmv6l() error {
logconfig.Bootstrap()
extraEnv := map[string]string{
Expand Down
8 changes: 6 additions & 2 deletions ci/packages/raspberry.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ package packages
import (
"fmt"
"os"
"path"
"path/filepath"
"strings"

Expand Down Expand Up @@ -57,10 +58,13 @@ func PackageLinuxRaspberryImage() error {
if err := goGet("github.com/debber/debber-v0.3/cmd/debber"); err != nil {
return err
}
if err := shell.NewCmd("bin/build_xgo linux/arm").Run(); err != nil {
extraEnv := map[string]string{
"GOARM": "6",
}
if err := buildBinaryFor(path.Join("cmd", "mysterium_node", "mysterium_node.go"), "myst_linux_arm", "linux", "arm", extraEnv, false); err != nil {
return err
}
if err := packageDebian("build/myst/myst_linux_arm", "armhf"); err != nil {
if err := packageDebian("build/myst_linux_arm/myst_linux_arm", "armhf"); err != nil {
return err
}
if err := buildMystRaspbianImage(); err != nil {
Expand Down

0 comments on commit e99377c

Please sign in to comment.