All checks were successful
Test / Create distribution (push) Successful in 1m0s
Test / Sandbox (push) Successful in 2m43s
Test / ShareFS (push) Successful in 4m0s
Test / Hpkg (push) Successful in 4m29s
Test / Sandbox (race detector) (push) Successful in 5m6s
Test / Hakurei (race detector) (push) Successful in 5m57s
Test / Hakurei (push) Successful in 2m41s
Test / Flake checks (push) Successful in 1m45s
This migrates artifacts that the helper cannot produce an identical instance of. Signed-off-by: Ophestra <cat@gensokyo.uk>
34 lines
710 B
Go
34 lines
710 B
Go
package rosa
|
|
|
|
import (
|
|
"hakurei.app/internal/pkg"
|
|
)
|
|
|
|
func (t Toolchain) newLibseccomp() pkg.Artifact {
|
|
const (
|
|
version = "2.6.0"
|
|
checksum = "mMu-iR71guPjFbb31u-YexBaanKE_nYPjPux-vuBiPfS_0kbwJdfCGlkofaUm-EY"
|
|
)
|
|
return t.NewViaMake("libseccomp", version, pkg.NewHTTPGetTar(
|
|
nil,
|
|
"https://github.com/seccomp/libseccomp/releases/download/"+
|
|
"v"+version+"/libseccomp-"+version+".tar.gz",
|
|
mustDecode(checksum),
|
|
pkg.TarGzip,
|
|
), &MakeAttr{
|
|
ScriptEarly: `
|
|
ln -s ../system/bin/bash /bin/
|
|
`,
|
|
Configure: [][2]string{
|
|
{"enable-static"},
|
|
},
|
|
},
|
|
t.Load(Bash),
|
|
t.Load(Diffutils),
|
|
t.Load(Gperf),
|
|
|
|
t.Load(KernelHeaders),
|
|
)
|
|
}
|
|
func init() { artifactsF[Libseccomp] = Toolchain.newLibseccomp }
|