From 8684769a843fdb13cc7d896ebf2909b7ac2a72e3 Mon Sep 17 00:00:00 2001 From: bfren Date: Sat, 18 Nov 2023 14:45:52 +0000 Subject: [PATCH] Adding support for installing arm/v7 --- overlay/tmp/install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/overlay/tmp/install b/overlay/tmp/install index 16c72c9..44db9d4 100644 --- a/overlay/tmp/install +++ b/overlay/tmp/install @@ -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)" } } @@ -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