aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-08-01 04:10:33 +0900
committerOphestra <cat@gensokyo.uk>2025-08-01 04:21:54 +0900
commit387b86bcdd7798a149ba2349cdf2a699f05cefe5 (patch)
treeede8a378bb00664ba38ce4619e03f72507d7b415 /cmd
parent4e856438656ea0a1b30d52975f6b5415568df9a8 (diff)
app: integrate container autoroot
Doing this instead of mounting directly on / because it's impossible to ensure a parent is available for every path hakurei wants to mount to. This situation is similar to autoetc hence the similar name, however a symlink mirror will not work in this case. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/hakurei/print_test.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmd/hakurei/print_test.go b/cmd/hakurei/print_test.go
index efe6ffb8..fc8348fb 100644
--- a/cmd/hakurei/print_test.go
+++ b/cmd/hakurei/print_test.go
@@ -302,6 +302,8 @@ App
"/run/user/150"
]
],
+ "auto_root": "/var/lib/hakurei/base/org.debian",
+ "root_flags": 2,
"etc": "/etc",
"auto_etc": true,
"cover": [
@@ -430,6 +432,8 @@ App
"/run/user/150"
]
],
+ "auto_root": "/var/lib/hakurei/base/org.debian",
+ "root_flags": 2,
"etc": "/etc",
"auto_etc": true,
"cover": [
@@ -612,6 +616,8 @@ func Test_printPs(t *testing.T) {
"/run/user/150"
]
],
+ "auto_root": "/var/lib/hakurei/base/org.debian",
+ "root_flags": 2,
"etc": "/etc",
"auto_etc": true,
"cover": [