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/command"
"hakurei.app/container/fhs"
"hakurei.app/ext"
"hakurei.app/fhs"
"hakurei.app/hst"
"hakurei.app/internal/dbus"
"hakurei.app/internal/env"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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