package rosa import "hakurei.app/internal/pkg" func (t Toolchain) newStage0() pkg.Artifact { musl, compilerRT, runtimes, clang := t.NewLLVM() return t.New("rosa-stage0", 0, []pkg.Artifact{ musl, compilerRT, runtimes, clang, t.Load(Bzip2), t.Load(Patch), t.Load(Make), t.Load(CMake), t.Load(Ninja), t.Load(Libffi), t.Load(Python), t.Load(Perl), t.Load(Diffutils), t.Load(Bash), t.Load(Gawk), t.Load(Coreutils), t.Load(Findutils), t.Load(KernelHeaders), }, nil, nil, ` umask 377 tar \ -vjc \ -C / \ -f /work/stage0-`+triplet()+`.tar.bz2 \ system bin usr/bin/env `) } func init() { artifactsF[Stage0] = Toolchain.newStage0 }