aboutsummaryrefslogtreecommitdiffhomepage
path: root/cmd
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-06-19 23:41:36 +0900
committerOphestra <cat@gensokyo.uk>2026-06-20 00:16:35 +0900
commitcb618093d5a2156e6c5a03eaf8ca7d370bf33740 (patch)
tree7bf8488b7dc0c81f75c6bd96f2da5b1dca9241c2 /cmd
parentb0b2471c0cd783c670ed7531d5512415259f551d (diff)
hst: optionally disable file placement
This works around stubborn package managers. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'cmd')
-rw-r--r--cmd/app/main.go3
-rw-r--r--cmd/hakurei/print_test.go7
2 files changed, 7 insertions, 3 deletions
diff --git a/cmd/app/main.go b/cmd/app/main.go
index 0ffa0d53..07c2cdb8 100644
--- a/cmd/app/main.go
+++ b/cmd/app/main.go
@@ -103,7 +103,8 @@ func main() {
}},
},
Username: "chronos",
- Flags: hst.FMultiarch |
+ Flags: hst.FNoPlace |
+ hst.FMultiarch |
hst.FDevel |
hst.FUserns |
hst.FHostNet |
diff --git a/cmd/hakurei/print_test.go b/cmd/hakurei/print_test.go
index 71eb8caa..a6e213c2 100644
--- a/cmd/hakurei/print_test.go
+++ b/cmd/hakurei/print_test.go
@@ -64,7 +64,7 @@ func TestPrintShowInstance(t *testing.T) {
Identity: 9 (org.chromium.Chromium)
Enablements: wayland, dbus, pipewire
Groups: video, dialout, plugdev
- Flags: multiarch, compat, devel, userns, net, abstract, tty, mapuid, device, cover_run, runtime, tmpdir
+ Flags: multiarch, compat, devel, userns, net, abstract, tty, mapuid, noplace, device, cover_run, runtime, tmpdir
Home: /data/data/org.chromium.Chromium
Hostname: localhost
Path: /run/current-system/sw/bin/chromium
@@ -161,7 +161,7 @@ App
Identity: 9 (org.chromium.Chromium)
Enablements: wayland, dbus, pipewire
Groups: video, dialout, plugdev
- Flags: multiarch, compat, devel, userns, net, abstract, tty, mapuid, device, cover_run, runtime, tmpdir
+ Flags: multiarch, compat, devel, userns, net, abstract, tty, mapuid, noplace, device, cover_run, runtime, tmpdir
Home: /data/data/org.chromium.Chromium
Hostname: localhost
Path: /run/current-system/sw/bin/chromium
@@ -354,6 +354,7 @@ App
"tty": true,
"multiarch": true,
"map_real_uid": true,
+ "noplace": true,
"device": true,
"cover_run": true,
"share_runtime": true,
@@ -506,6 +507,7 @@ App
"tty": true,
"multiarch": true,
"map_real_uid": true,
+ "noplace": true,
"device": true,
"cover_run": true,
"share_runtime": true,
@@ -705,6 +707,7 @@ func TestPrintPs(t *testing.T) {
"tty": true,
"multiarch": true,
"map_real_uid": true,
+ "noplace": true,
"device": true,
"cover_run": true,
"share_runtime": true,