Skip to content

Commit

Permalink
Adding support for installing arm/v7
Browse files Browse the repository at this point in the history
  • Loading branch information
bfren committed Nov 18, 2023
1 parent 36e16f3 commit 8684769
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion overlay/tmp/install
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def main [] {
let platform = bf build | get Platform
let arch = match $platform {
"linux/amd64" => "x64"
"linux/arm/v7" => "arm"
"linux/arm64" => "arm64"
_ => { bf write error $"Unsupported platform: ($platform)" }
}
Expand Down Expand Up @@ -127,7 +128,7 @@ def download [

# verify downloaded file
bf write $" .. verifying ($filename) download." install/download
{ ^echo $"($hash) ($filename_with_ext)" | ^sha512sum -c - } | bf handle -f {|code, err|
{ $"($hash) ($filename_with_ext)" | ^sha512sum -c - } | bf handle -f {|code, err|
bf write error $" .. checksum did not match for ($filename)." install/download
} install/download

Expand Down

0 comments on commit 8684769

Please sign in to comment.