forked from security/hakurei
internal/rosa: cross-platform stage3
The stage3 binary seed is arch-specific. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -199,10 +199,18 @@ func (t Toolchain) New(
|
|||||||
|
|
||||||
case toolchainStage3:
|
case toolchainStage3:
|
||||||
name += "-boot"
|
name += "-boot"
|
||||||
const (
|
var version, checksum string
|
||||||
version = "20260111T160052Z"
|
switch runtime.GOARCH {
|
||||||
|
case "amd64":
|
||||||
|
version = "20260111T160052Z"
|
||||||
checksum = "c5_FwMnRN8RZpTdBLGYkL4RR8ampdaZN2JbkgrFLe8-QHQAVQy08APVvIL6eT7KW"
|
checksum = "c5_FwMnRN8RZpTdBLGYkL4RR8ampdaZN2JbkgrFLe8-QHQAVQy08APVvIL6eT7KW"
|
||||||
)
|
case "arm64":
|
||||||
|
version = "20260125T234618Z"
|
||||||
|
checksum = "79uRbRI44PyknQQ9RlFUQrwqplup7vImiIk6klefL8TN-fT42TXMS_v4XszwexCb"
|
||||||
|
|
||||||
|
default:
|
||||||
|
panic("unsupported target " + runtime.GOARCH)
|
||||||
|
}
|
||||||
path = fhs.AbsRoot.Append("bin", "bash")
|
path = fhs.AbsRoot.Append("bin", "bash")
|
||||||
args[0] = "bash"
|
args[0] = "bash"
|
||||||
support = slices.Concat([]pkg.Artifact{
|
support = slices.Concat([]pkg.Artifact{
|
||||||
|
|||||||
Reference in New Issue
Block a user