internal/rosa/package: migrate kernel

This introduces bindings for extra paths and KnownChecksum, and exposes a passthrough special case.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-05-19 20:47:34 +09:00
parent 6fd6d971ed
commit 962b02cf25
16 changed files with 1349 additions and 1370 deletions

View File

@@ -755,7 +755,7 @@ func main() {
"shell",
"Interactive shell in the specified Rosa OS environment",
func(args []string) error {
handles := make([]rosa.ArtifactH, len(args)+3)
handles := make([]rosa.ArtifactH, len(args), len(args)+3)
for i, arg := range args {
handles[i] = rosa.ArtifactH(unique.Make(arg))
if meta, _ := rosa.Native().Std().Load(handles[i]); meta == nil {