From 5d18af00077ae6ba8ef686d1fd93d888f69681b2 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 7 Oct 2025 21:29:16 +0900 Subject: container/fhs: move pathname constants This allows referencing FHS pathnames without importing container. Signed-off-by: Ophestra --- internal/app/finalise.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'internal/app/finalise.go') diff --git a/internal/app/finalise.go b/internal/app/finalise.go index 2fa4ca07..f544ebeb 100644 --- a/internal/app/finalise.go +++ b/internal/app/finalise.go @@ -16,6 +16,7 @@ import ( "syscall" "hakurei.app/container" + "hakurei.app/container/fhs" "hakurei.app/hst" "hakurei.app/internal/app/state" "hakurei.app/system" @@ -184,7 +185,7 @@ func (k *outcome) finalise(ctx context.Context, msg container.Msg, id *state.ID, // mount root read-only as the final setup Op // TODO(ophestra): move this to spFilesystemOp after #8 and #9 - k.container.Remount(container.AbsFHSRoot, syscall.MS_RDONLY) + k.container.Remount(fhs.AbsRoot, syscall.MS_RDONLY) // append ExtraPerms last for _, p := range config.ExtraPerms { -- cgit v1.3.1