internal/rosa: fix up dependencies
All checks were successful
Test / Create distribution (push) Successful in 1m0s
Test / Sandbox (push) Successful in 2m39s
Test / Hakurei (push) Successful in 3m52s
Test / ShareFS (push) Successful in 4m2s
Test / Hpkg (push) Successful in 4m32s
Test / Sandbox (race detector) (push) Successful in 5m7s
Test / Hakurei (race detector) (push) Successful in 6m19s
Test / Flake checks (push) Successful in 1m42s
All checks were successful
Test / Create distribution (push) Successful in 1m0s
Test / Sandbox (push) Successful in 2m39s
Test / Hakurei (push) Successful in 3m52s
Test / ShareFS (push) Successful in 4m2s
Test / Hpkg (push) Successful in 4m32s
Test / Sandbox (race detector) (push) Successful in 5m7s
Test / Hakurei (race detector) (push) Successful in 6m19s
Test / Flake checks (push) Successful in 1m42s
These are no longer provided by the (incomplete) toybox implementations, so they need to be specified explicitly. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -10,6 +10,8 @@ func (t Toolchain) newAttr() pkg.Artifact {
|
||||
return t.New("attr-"+version, 0, []pkg.Artifact{
|
||||
t.Load(Make),
|
||||
t.Load(Perl),
|
||||
t.Load(Gawk),
|
||||
t.Load(Coreutils),
|
||||
}, nil, nil, `
|
||||
ln -s ../../system/bin/perl /usr/bin
|
||||
|
||||
@@ -77,6 +79,8 @@ func (t Toolchain) newACL() pkg.Artifact {
|
||||
)
|
||||
return t.New("acl-"+version, 0, []pkg.Artifact{
|
||||
t.Load(Make),
|
||||
t.Load(Gawk),
|
||||
t.Load(Coreutils),
|
||||
|
||||
t.Load(Attr),
|
||||
}, nil, nil, `
|
||||
|
||||
@@ -304,6 +304,9 @@ func (t Toolchain) newGperf() pkg.Artifact {
|
||||
)
|
||||
return t.New("gperf-"+version, 0, []pkg.Artifact{
|
||||
t.Load(Make),
|
||||
t.Load(Gawk),
|
||||
t.Load(Coreutils),
|
||||
t.Load(Diffutils),
|
||||
}, nil, nil, `
|
||||
cd "$(mktemp -d)"
|
||||
/usr/src/gperf/configure \
|
||||
|
||||
@@ -20,19 +20,7 @@ cp -r /usr/src/go /work
|
||||
cd /work/go/src
|
||||
chmod -R +w ..
|
||||
|
||||
ln -s ../system/bin/toybox /bin/pwd
|
||||
cat << EOF > /bin/hostname
|
||||
#!/bin/sh
|
||||
echo cure
|
||||
EOF
|
||||
chmod +x /bin/hostname
|
||||
|
||||
rm \
|
||||
cmd/objdump/objdump_test.go \
|
||||
syscall/creds_test.go \
|
||||
net/multicast_test.go
|
||||
|
||||
./all.bash
|
||||
./make.bash
|
||||
cd /work/
|
||||
mkdir system/
|
||||
mv go/ system/
|
||||
|
||||
@@ -32,6 +32,7 @@ func (t Toolchain) newHakurei(script string) pkg.Artifact {
|
||||
t.Load(Wayland),
|
||||
t.Load(WaylandProtocols),
|
||||
}, nil, []string{
|
||||
"CGO_ENABLED=1",
|
||||
"GOCACHE=/tmp/gocache",
|
||||
"CC=clang -O3 -Werror",
|
||||
}, `
|
||||
@@ -193,7 +194,7 @@ func main() {
|
||||
func init() {
|
||||
artifactsF[Hakurei] = func(t Toolchain) pkg.Artifact {
|
||||
return t.newHakurei(`
|
||||
mkdir -p /work/system/{bin,libexec/hakurei}
|
||||
mkdir -p /work/system/libexec/hakurei/
|
||||
|
||||
echo '# Building hakurei.'
|
||||
go generate -v ./...
|
||||
@@ -210,9 +211,11 @@ echo '# Testing hakurei.'
|
||||
go test -ldflags='-buildid= -extldflags=-static' ./...
|
||||
echo
|
||||
|
||||
mv \
|
||||
/work/system/libexec/hakurei/{hakurei,sharefs} \
|
||||
/work/system/bin
|
||||
mkdir -p /work/system/bin/
|
||||
(cd /work/system/libexec/hakurei && mv \
|
||||
hakurei \
|
||||
sharefs \
|
||||
../../bin/)
|
||||
`)
|
||||
}
|
||||
artifactsF[HakureiDist] = func(t Toolchain) pkg.Artifact {
|
||||
|
||||
@@ -14,6 +14,8 @@ func (t Toolchain) newLibexpat() pkg.Artifact {
|
||||
return t.New("libexpat-"+version, 0, []pkg.Artifact{
|
||||
t.Load(Make),
|
||||
t.Load(Bash),
|
||||
t.Load(Gawk),
|
||||
t.Load(Coreutils),
|
||||
}, nil, nil, `
|
||||
cd "$(mktemp -d)"
|
||||
/usr/src/libexpat/configure \
|
||||
|
||||
@@ -12,7 +12,9 @@ func (t Toolchain) newLibseccomp() pkg.Artifact {
|
||||
return t.New("libseccomp-"+version, 0, []pkg.Artifact{
|
||||
t.Load(Make),
|
||||
t.Load(Bash),
|
||||
t.Load(Gawk),
|
||||
t.Load(Coreutils),
|
||||
t.Load(Diffutils),
|
||||
t.Load(Gperf),
|
||||
|
||||
t.Load(KernelHeaders),
|
||||
|
||||
@@ -13,6 +13,9 @@ func (t Toolchain) newLibxml2() pkg.Artifact {
|
||||
)
|
||||
return t.New("libxml2-"+version, 0, []pkg.Artifact{
|
||||
t.Load(Make),
|
||||
t.Load(Gawk),
|
||||
t.Load(Coreutils),
|
||||
t.Load(Diffutils),
|
||||
t.Load(XZ),
|
||||
}, nil, nil, `
|
||||
cd /usr/src/
|
||||
|
||||
@@ -9,6 +9,8 @@ func (t Toolchain) newPkgConfig() pkg.Artifact {
|
||||
)
|
||||
return t.New("pkg-config-"+version, 0, []pkg.Artifact{
|
||||
t.Load(Make),
|
||||
t.Load(Gawk),
|
||||
t.Load(Coreutils),
|
||||
}, nil, nil, `
|
||||
cd "$(mktemp -d)"
|
||||
/usr/src/pkg-config/configure \
|
||||
|
||||
@@ -13,6 +13,8 @@ func (t Toolchain) newWayland() pkg.Artifact {
|
||||
t.Load(PkgConfig),
|
||||
t.Load(CMake),
|
||||
t.Load(Ninja),
|
||||
t.Load(Gawk),
|
||||
t.Load(Diffutils),
|
||||
|
||||
t.Load(Libffi),
|
||||
t.Load(Libexpat),
|
||||
|
||||
@@ -9,6 +9,8 @@ func (t Toolchain) newXproto() pkg.Artifact {
|
||||
)
|
||||
return t.New("xproto-"+version, 0, []pkg.Artifact{
|
||||
t.Load(Make),
|
||||
t.Load(Gawk),
|
||||
t.Load(Coreutils),
|
||||
t.Load(PkgConfig),
|
||||
}, nil, nil, `
|
||||
cd "$(mktemp -d)"
|
||||
@@ -32,6 +34,8 @@ func (t Toolchain) newLibXau() pkg.Artifact {
|
||||
)
|
||||
return t.New("libXau-"+version, 0, []pkg.Artifact{
|
||||
t.Load(Make),
|
||||
t.Load(Gawk),
|
||||
t.Load(Coreutils),
|
||||
t.Load(PkgConfig),
|
||||
|
||||
t.Load(Xproto),
|
||||
|
||||
@@ -9,6 +9,8 @@ func (t Toolchain) newXCBProto() pkg.Artifact {
|
||||
)
|
||||
return t.New("xcb-proto-"+version, 0, []pkg.Artifact{
|
||||
t.Load(Make),
|
||||
t.Load(Gawk),
|
||||
t.Load(Coreutils),
|
||||
t.Load(Python),
|
||||
}, nil, nil, `
|
||||
cd "$(mktemp -d)"
|
||||
@@ -33,6 +35,8 @@ func (t Toolchain) newXCB() pkg.Artifact {
|
||||
)
|
||||
return t.New("xcb-"+version, 0, []pkg.Artifact{
|
||||
t.Load(Make),
|
||||
t.Load(Gawk),
|
||||
t.Load(Coreutils),
|
||||
t.Load(Python),
|
||||
t.Load(PkgConfig),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user