internal/rosa/package: migrate remaining trivial packages
All checks were successful
Test / Create distribution (push) Successful in 1m5s
Test / Sandbox (push) Successful in 2m49s
Test / ShareFS (push) Successful in 3m48s
Test / Hakurei (push) Successful in 4m0s
Test / Sandbox (race detector) (push) Successful in 5m32s
Test / Hakurei (race detector) (push) Successful in 6m31s
Test / Flake checks (push) Successful in 1m22s

The rest are migrated individually.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-05-20 05:57:13 +09:00
parent 1a9974ffdc
commit 656059278d
24 changed files with 341 additions and 419 deletions

View File

@@ -91,6 +91,10 @@ func main() {
addr net.UnixAddr
)
c := command.New(os.Stderr, log.Printf, "mbf", func([]string) error {
if !rosa.Native().HasStage0() {
return pkg.UnsupportedArchError(runtime.GOARCH)
}
if flagPT {
log.Println("parsed in", rosa.ParseTime())
}
@@ -127,7 +131,7 @@ func main() {
}
rosa.Native().DropCaches(flagArch, flags)
if !rosa.HasStage0() {
if !rosa.Native().HasStage0() {
return pkg.UnsupportedArchError(flagArch)
}
}