fhs: move from container
All checks were successful
Test / Create distribution (push) Successful in 1m2s
Test / Sandbox (push) Successful in 2m41s
Test / Hakurei (push) Successful in 3m40s
Test / ShareFS (push) Successful in 3m42s
Test / Sandbox (race detector) (push) Successful in 5m10s
Test / Hakurei (race detector) (push) Successful in 6m10s
Test / Flake checks (push) Successful in 1m23s

This package is not container-specific.

Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
2026-03-17 15:56:36 +09:00
parent b852402f67
commit 722989c682
47 changed files with 45 additions and 45 deletions

View File

@@ -15,8 +15,8 @@ import (
"hakurei.app/check" "hakurei.app/check"
"hakurei.app/command" "hakurei.app/command"
"hakurei.app/container/fhs"
"hakurei.app/ext" "hakurei.app/ext"
"hakurei.app/fhs"
"hakurei.app/hst" "hakurei.app/hst"
"hakurei.app/internal/dbus" "hakurei.app/internal/dbus"
"hakurei.app/internal/env" "hakurei.app/internal/env"

View File

@@ -21,10 +21,10 @@ import (
"hakurei.app/check" "hakurei.app/check"
"hakurei.app/command" "hakurei.app/command"
"hakurei.app/container" "hakurei.app/container"
"hakurei.app/container/fhs"
"hakurei.app/container/seccomp" "hakurei.app/container/seccomp"
"hakurei.app/container/std" "hakurei.app/container/std"
"hakurei.app/ext" "hakurei.app/ext"
"hakurei.app/fhs"
"hakurei.app/internal/pkg" "hakurei.app/internal/pkg"
"hakurei.app/internal/rosa" "hakurei.app/internal/rosa"
"hakurei.app/message" "hakurei.app/message"

View File

@@ -33,8 +33,8 @@ import (
"hakurei.app/check" "hakurei.app/check"
"hakurei.app/container" "hakurei.app/container"
"hakurei.app/container/fhs"
"hakurei.app/container/std" "hakurei.app/container/std"
"hakurei.app/fhs"
"hakurei.app/hst" "hakurei.app/hst"
"hakurei.app/internal/helper/proc" "hakurei.app/internal/helper/proc"
"hakurei.app/internal/info" "hakurei.app/internal/info"

View File

@@ -5,7 +5,7 @@ import (
"fmt" "fmt"
"hakurei.app/check" "hakurei.app/check"
"hakurei.app/container/fhs" "hakurei.app/fhs"
) )
func init() { gob.Register(new(AutoEtcOp)) } func init() { gob.Register(new(AutoEtcOp)) }

View File

@@ -5,7 +5,7 @@ import (
"fmt" "fmt"
"hakurei.app/check" "hakurei.app/check"
"hakurei.app/container/fhs" "hakurei.app/fhs"
"hakurei.app/message" "hakurei.app/message"
) )

View File

@@ -17,10 +17,10 @@ import (
"time" "time"
"hakurei.app/check" "hakurei.app/check"
"hakurei.app/container/fhs"
"hakurei.app/container/seccomp" "hakurei.app/container/seccomp"
"hakurei.app/container/std" "hakurei.app/container/std"
"hakurei.app/ext" "hakurei.app/ext"
"hakurei.app/fhs"
"hakurei.app/message" "hakurei.app/message"
) )

View File

@@ -21,10 +21,10 @@ import (
"hakurei.app/check" "hakurei.app/check"
"hakurei.app/command" "hakurei.app/command"
"hakurei.app/container" "hakurei.app/container"
"hakurei.app/container/fhs"
"hakurei.app/container/seccomp" "hakurei.app/container/seccomp"
"hakurei.app/container/std" "hakurei.app/container/std"
"hakurei.app/ext" "hakurei.app/ext"
"hakurei.app/fhs"
"hakurei.app/hst" "hakurei.app/hst"
"hakurei.app/ldd" "hakurei.app/ldd"
"hakurei.app/message" "hakurei.app/message"

View File

@@ -15,9 +15,9 @@ import (
. "syscall" . "syscall"
"time" "time"
"hakurei.app/container/fhs"
"hakurei.app/container/seccomp" "hakurei.app/container/seccomp"
"hakurei.app/ext" "hakurei.app/ext"
"hakurei.app/fhs"
"hakurei.app/message" "hakurei.app/message"
) )

View File

@@ -13,7 +13,7 @@ import (
"time" "time"
"hakurei.app/check" "hakurei.app/check"
"hakurei.app/container/fhs" "hakurei.app/fhs"
) )
func init() { gob.Register(new(DaemonOp)) } func init() { gob.Register(new(DaemonOp)) }

View File

@@ -7,7 +7,7 @@ import (
. "syscall" . "syscall"
"hakurei.app/check" "hakurei.app/check"
"hakurei.app/container/fhs" "hakurei.app/fhs"
) )
func init() { gob.Register(new(MountDevOp)) } func init() { gob.Register(new(MountDevOp)) }

View File

@@ -7,7 +7,7 @@ import (
"strings" "strings"
"hakurei.app/check" "hakurei.app/check"
"hakurei.app/container/fhs" "hakurei.app/fhs"
) )
const ( const (

View File

@@ -6,7 +6,7 @@ import (
"syscall" "syscall"
"hakurei.app/check" "hakurei.app/check"
"hakurei.app/container/fhs" "hakurei.app/fhs"
) )
const ( const (

View File

@@ -9,7 +9,7 @@ import (
"strings" "strings"
"syscall" "syscall"
"hakurei.app/container/fhs" "hakurei.app/fhs"
"hakurei.app/vfs" "hakurei.app/vfs"
) )

View File

@@ -7,7 +7,7 @@ import (
"strconv" "strconv"
"syscall" "syscall"
"hakurei.app/container/fhs" "hakurei.app/fhs"
) )
// doCloseOnExec implements ensureCloseOnExec by ranging over proc_pid_fd(5). // doCloseOnExec implements ensureCloseOnExec by ranging over proc_pid_fd(5).

View File

@@ -6,7 +6,7 @@ import (
"strconv" "strconv"
"sync" "sync"
"hakurei.app/container/fhs" "hakurei.app/fhs"
"hakurei.app/message" "hakurei.app/message"
) )

View File

@@ -4,7 +4,7 @@ import (
"reflect" "reflect"
"testing" "testing"
"hakurei.app/container/fhs" "hakurei.app/fhs"
"hakurei.app/hst" "hakurei.app/hst"
) )

View File

@@ -5,8 +5,8 @@ import (
"strings" "strings"
"hakurei.app/check" "hakurei.app/check"
"hakurei.app/container/fhs"
"hakurei.app/container/std" "hakurei.app/container/std"
"hakurei.app/fhs"
) )
func init() { gob.Register(new(FSBind)) } func init() { gob.Register(new(FSBind)) }

View File

@@ -8,7 +8,7 @@ import (
"os" "os"
"hakurei.app/check" "hakurei.app/check"
"hakurei.app/container/fhs" "hakurei.app/fhs"
) )
// An AppError is returned while starting an app according to [hst.Config]. // An AppError is returned while starting an app according to [hst.Config].

View File

@@ -7,8 +7,8 @@ import (
"hakurei.app/check" "hakurei.app/check"
"hakurei.app/container" "hakurei.app/container"
"hakurei.app/container/fhs"
"hakurei.app/container/stub" "hakurei.app/container/stub"
"hakurei.app/fhs"
"hakurei.app/hst" "hakurei.app/hst"
"hakurei.app/internal/env" "hakurei.app/internal/env"
) )

View File

@@ -8,7 +8,7 @@ import (
"hakurei.app/check" "hakurei.app/check"
"hakurei.app/container" "hakurei.app/container"
"hakurei.app/container/fhs" "hakurei.app/fhs"
"hakurei.app/internal/helper" "hakurei.app/internal/helper"
) )

View File

@@ -14,7 +14,7 @@ import (
"testing" "testing"
"time" "time"
"hakurei.app/container/fhs" "hakurei.app/fhs"
"hakurei.app/internal/lockedfile/internal/filelock" "hakurei.app/internal/lockedfile/internal/filelock"
"hakurei.app/internal/lockedfile/internal/testexec" "hakurei.app/internal/lockedfile/internal/testexec"
) )

View File

@@ -15,7 +15,7 @@ import (
"testing" "testing"
"time" "time"
"hakurei.app/container/fhs" "hakurei.app/fhs"
"hakurei.app/internal/lockedfile" "hakurei.app/internal/lockedfile"
"hakurei.app/internal/lockedfile/internal/testexec" "hakurei.app/internal/lockedfile/internal/testexec"
) )

View File

@@ -9,7 +9,7 @@ import (
"strconv" "strconv"
"sync" "sync"
"hakurei.app/container/fhs" "hakurei.app/fhs"
"hakurei.app/hst" "hakurei.app/hst"
"hakurei.app/message" "hakurei.app/message"
) )

View File

@@ -14,7 +14,7 @@ import (
"hakurei.app/check" "hakurei.app/check"
"hakurei.app/container" "hakurei.app/container"
"hakurei.app/container/fhs" "hakurei.app/fhs"
"hakurei.app/hst" "hakurei.app/hst"
"hakurei.app/internal/info" "hakurei.app/internal/info"
"hakurei.app/internal/store" "hakurei.app/internal/store"

View File

@@ -17,9 +17,9 @@ import (
"hakurei.app/check" "hakurei.app/check"
"hakurei.app/container" "hakurei.app/container"
"hakurei.app/container/fhs"
"hakurei.app/container/seccomp" "hakurei.app/container/seccomp"
"hakurei.app/container/std" "hakurei.app/container/std"
"hakurei.app/fhs"
"hakurei.app/hst" "hakurei.app/hst"
"hakurei.app/internal/acl" "hakurei.app/internal/acl"
"hakurei.app/internal/dbus" "hakurei.app/internal/dbus"

View File

@@ -15,10 +15,10 @@ import (
"hakurei.app/check" "hakurei.app/check"
"hakurei.app/container" "hakurei.app/container"
"hakurei.app/container/fhs"
"hakurei.app/container/seccomp" "hakurei.app/container/seccomp"
"hakurei.app/container/std" "hakurei.app/container/std"
"hakurei.app/ext" "hakurei.app/ext"
"hakurei.app/fhs"
"hakurei.app/hst" "hakurei.app/hst"
"hakurei.app/internal/pipewire" "hakurei.app/internal/pipewire"
"hakurei.app/message" "hakurei.app/message"

View File

@@ -10,11 +10,11 @@ import (
"testing" "testing"
"hakurei.app/container" "hakurei.app/container"
"hakurei.app/container/fhs"
"hakurei.app/container/seccomp" "hakurei.app/container/seccomp"
"hakurei.app/container/std" "hakurei.app/container/std"
"hakurei.app/container/stub" "hakurei.app/container/stub"
"hakurei.app/ext" "hakurei.app/ext"
"hakurei.app/fhs"
"hakurei.app/hst" "hakurei.app/hst"
"hakurei.app/internal/env" "hakurei.app/internal/env"
) )

View File

@@ -5,7 +5,7 @@ import (
"fmt" "fmt"
"syscall" "syscall"
"hakurei.app/container/fhs" "hakurei.app/fhs"
"hakurei.app/internal/validate" "hakurei.app/internal/validate"
) )

View File

@@ -12,9 +12,9 @@ import (
"hakurei.app/check" "hakurei.app/check"
"hakurei.app/container" "hakurei.app/container"
"hakurei.app/container/fhs"
"hakurei.app/container/seccomp" "hakurei.app/container/seccomp"
"hakurei.app/container/std" "hakurei.app/container/std"
"hakurei.app/fhs"
"hakurei.app/hst" "hakurei.app/hst"
"hakurei.app/internal/acl" "hakurei.app/internal/acl"
"hakurei.app/internal/dbus" "hakurei.app/internal/dbus"

View File

@@ -9,10 +9,10 @@ import (
"hakurei.app/check" "hakurei.app/check"
"hakurei.app/container" "hakurei.app/container"
"hakurei.app/container/fhs"
"hakurei.app/container/seccomp" "hakurei.app/container/seccomp"
"hakurei.app/container/std" "hakurei.app/container/std"
"hakurei.app/container/stub" "hakurei.app/container/stub"
"hakurei.app/fhs"
"hakurei.app/hst" "hakurei.app/hst"
"hakurei.app/internal/acl" "hakurei.app/internal/acl"
"hakurei.app/internal/dbus" "hakurei.app/internal/dbus"

View File

@@ -3,7 +3,7 @@ package outcome
import ( import (
"encoding/gob" "encoding/gob"
"hakurei.app/container/fhs" "hakurei.app/fhs"
"hakurei.app/hst" "hakurei.app/hst"
"hakurei.app/internal/acl" "hakurei.app/internal/acl"
"hakurei.app/internal/dbus" "hakurei.app/internal/dbus"

View File

@@ -4,8 +4,8 @@ import (
"encoding/gob" "encoding/gob"
"hakurei.app/check" "hakurei.app/check"
"hakurei.app/container/fhs"
"hakurei.app/container/std" "hakurei.app/container/std"
"hakurei.app/fhs"
"hakurei.app/hst" "hakurei.app/hst"
"hakurei.app/internal/acl" "hakurei.app/internal/acl"
"hakurei.app/internal/system" "hakurei.app/internal/system"

View File

@@ -4,9 +4,9 @@ import (
"testing" "testing"
"hakurei.app/container" "hakurei.app/container"
"hakurei.app/container/fhs"
"hakurei.app/container/std" "hakurei.app/container/std"
"hakurei.app/container/stub" "hakurei.app/container/stub"
"hakurei.app/fhs"
"hakurei.app/hst" "hakurei.app/hst"
"hakurei.app/internal/acl" "hakurei.app/internal/acl"
"hakurei.app/internal/system" "hakurei.app/internal/system"

View File

@@ -4,8 +4,8 @@ import (
"encoding/gob" "encoding/gob"
"hakurei.app/check" "hakurei.app/check"
"hakurei.app/container/fhs"
"hakurei.app/container/std" "hakurei.app/container/std"
"hakurei.app/fhs"
"hakurei.app/hst" "hakurei.app/hst"
"hakurei.app/internal/acl" "hakurei.app/internal/acl"
"hakurei.app/internal/system" "hakurei.app/internal/system"

View File

@@ -4,9 +4,9 @@ import (
"testing" "testing"
"hakurei.app/container" "hakurei.app/container"
"hakurei.app/container/fhs"
"hakurei.app/container/std" "hakurei.app/container/std"
"hakurei.app/container/stub" "hakurei.app/container/stub"
"hakurei.app/fhs"
"hakurei.app/hst" "hakurei.app/hst"
"hakurei.app/internal/acl" "hakurei.app/internal/acl"
"hakurei.app/internal/system" "hakurei.app/internal/system"

View File

@@ -9,7 +9,7 @@ import (
"strings" "strings"
"hakurei.app/check" "hakurei.app/check"
"hakurei.app/container/fhs" "hakurei.app/fhs"
"hakurei.app/hst" "hakurei.app/hst"
"hakurei.app/internal/acl" "hakurei.app/internal/acl"
) )

View File

@@ -17,10 +17,10 @@ import (
"hakurei.app/check" "hakurei.app/check"
"hakurei.app/container" "hakurei.app/container"
"hakurei.app/container/fhs"
"hakurei.app/container/seccomp" "hakurei.app/container/seccomp"
"hakurei.app/container/std" "hakurei.app/container/std"
"hakurei.app/ext" "hakurei.app/ext"
"hakurei.app/fhs"
"hakurei.app/message" "hakurei.app/message"
) )

View File

@@ -23,8 +23,8 @@ import (
"hakurei.app/check" "hakurei.app/check"
"hakurei.app/container" "hakurei.app/container"
"hakurei.app/container/fhs"
"hakurei.app/container/stub" "hakurei.app/container/stub"
"hakurei.app/fhs"
"hakurei.app/internal/pkg" "hakurei.app/internal/pkg"
"hakurei.app/message" "hakurei.app/message"
) )

View File

@@ -13,7 +13,7 @@ import (
"strings" "strings"
"hakurei.app/check" "hakurei.app/check"
"hakurei.app/container/fhs" "hakurei.app/fhs"
"hakurei.app/vfs" "hakurei.app/vfs"
) )

View File

@@ -8,7 +8,7 @@ import (
"runtime" "runtime"
"time" "time"
"hakurei.app/container/fhs" "hakurei.app/fhs"
"hakurei.app/internal/pkg" "hakurei.app/internal/pkg"
) )

View File

@@ -7,7 +7,7 @@ import (
"sync" "sync"
"syscall" "syscall"
"hakurei.app/container/fhs" "hakurei.app/fhs"
"hakurei.app/internal/pkg" "hakurei.app/internal/pkg"
) )

View File

@@ -3,7 +3,7 @@ package rosa
import ( import (
"strings" "strings"
"hakurei.app/container/fhs" "hakurei.app/fhs"
"hakurei.app/internal/pkg" "hakurei.app/internal/pkg"
) )

View File

@@ -1,7 +1,7 @@
package rosa package rosa
import ( import (
"hakurei.app/container/fhs" "hakurei.app/fhs"
"hakurei.app/internal/pkg" "hakurei.app/internal/pkg"
) )

View File

@@ -10,7 +10,7 @@ import (
"strings" "strings"
"sync" "sync"
"hakurei.app/container/fhs" "hakurei.app/fhs"
"hakurei.app/internal/pkg" "hakurei.app/internal/pkg"
) )

View File

@@ -11,9 +11,9 @@ import (
"hakurei.app/check" "hakurei.app/check"
"hakurei.app/container" "hakurei.app/container"
"hakurei.app/container/fhs"
"hakurei.app/container/seccomp" "hakurei.app/container/seccomp"
"hakurei.app/container/std" "hakurei.app/container/std"
"hakurei.app/fhs"
"hakurei.app/message" "hakurei.app/message"
) )