Add riscv64 to go-bin plugin
This commit is contained in:
parent
06203233e9
commit
18a194ec50
@ -15,6 +15,8 @@ def update_pkg(s, version):
|
|||||||
checksums['arm64'] = checksum
|
checksums['arm64'] = checksum
|
||||||
elif 'linux-armv6l' in link:
|
elif 'linux-armv6l' in link:
|
||||||
checksums['arm6'] = checksum
|
checksums['arm6'] = checksum
|
||||||
|
elif 'linux-riscv64' in link:
|
||||||
|
checksums['riscv64'] = checksum
|
||||||
|
|
||||||
tmpl = updater.get_package_file("go-bin", "lure.tmpl.sh")
|
tmpl = updater.get_package_file("go-bin", "lure.tmpl.sh")
|
||||||
updater.write_package_file("go-bin", "lure.sh", tmpl % (
|
updater.write_package_file("go-bin", "lure.sh", tmpl % (
|
||||||
@ -23,6 +25,7 @@ def update_pkg(s, version):
|
|||||||
checksums["arm64"],
|
checksums["arm64"],
|
||||||
checksums["arm6"],
|
checksums["arm6"],
|
||||||
checksums["386"],
|
checksums["386"],
|
||||||
|
checksums["riscv64"],
|
||||||
))
|
))
|
||||||
|
|
||||||
updater.push_changes("upg(go-bin): %s" % version)
|
updater.push_changes("upg(go-bin): %s" % version)
|
||||||
|
Loading…
Reference in New Issue
Block a user