From be0e387ab07c7d9f1441365a05c4c0141779184a Mon Sep 17 00:00:00 2001 From: Ophestra Date: Thu, 13 Nov 2025 07:29:46 +0900 Subject: internal/info: relocate from internal This is cleaner and makes more sense. The longer LDFLAGS was never a valid concern since it is always inserted by a script. Signed-off-by: Ophestra --- internal/outcome/dispatcher.go | 4 ++-- internal/outcome/process.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'internal/outcome') diff --git a/internal/outcome/dispatcher.go b/internal/outcome/dispatcher.go index e2feb373..20c70a4b 100644 --- a/internal/outcome/dispatcher.go +++ b/internal/outcome/dispatcher.go @@ -14,7 +14,7 @@ import ( "hakurei.app/container/check" "hakurei.app/container/seccomp" "hakurei.app/container/std" - "hakurei.app/internal" + "hakurei.app/internal/info" "hakurei.app/internal/system/dbus" "hakurei.app/message" ) @@ -156,7 +156,7 @@ func (direct) seccompLoad(rules []std.NativeRule, flags seccomp.ExportFlag) erro return seccomp.Load(rules, flags) } -func (direct) mustHsuPath() *check.Absolute { return internal.MustHsuPath() } +func (direct) mustHsuPath() *check.Absolute { return info.MustHsuPath() } func (direct) dbusAddress() (session, system string) { return dbus.Address() } diff --git a/internal/outcome/process.go b/internal/outcome/process.go index 537235fd..e7b7113d 100644 --- a/internal/outcome/process.go +++ b/internal/outcome/process.go @@ -16,7 +16,7 @@ import ( "hakurei.app/container/check" "hakurei.app/container/fhs" "hakurei.app/hst" - "hakurei.app/internal" + "hakurei.app/internal/info" "hakurei.app/internal/store" "hakurei.app/internal/system" "hakurei.app/message" @@ -39,7 +39,7 @@ func (k *outcome) main(msg message.Msg, identifierFd int) { } // read comp value early for early failure - hsuPath := internal.MustHsuPath() + hsuPath := info.MustHsuPath() const ( // transitions to processCommit, or processFinal on failure -- cgit v1.3.1