From 084cd84f36a1d608541b4aa4e1e95334395d8953 Mon Sep 17 00:00:00 2001 From: Ophestra Umiker Date: Wed, 16 Oct 2024 01:38:59 +0900 Subject: app: port app to use the system package This commit does away with almost all baggage left over from the Ego port. Error wrapping also got simplified. All API changes happens to be internal which means no changes to main except renaming of the BaseError type. Signed-off-by: Ophestra Umiker --- internal/app/config.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'internal/app/config.go') diff --git a/internal/app/config.go b/internal/app/config.go index 3f6d1c0f..72648f0c 100644 --- a/internal/app/config.go +++ b/internal/app/config.go @@ -61,8 +61,8 @@ type SandboxConfig struct { Env map[string]string `json:"env"` // sandbox host filesystem access Filesystem []*FilesystemConfig `json:"filesystem"` - // tmpfs mount points to mount last - Tmpfs []string `json:"tmpfs"` + // paths to override by mounting tmpfs over them + Override []string `json:"override"` } type FilesystemConfig struct { @@ -149,7 +149,7 @@ func Template() *Config { {Src: "/data/user/0", Dst: "/data/data", Write: true, Must: true}, {Src: "/var/tmp", Write: true}, }, - Tmpfs: []string{"/var/run/nscd"}, + Override: []string{"/var/run/nscd"}, }, SystemBus: &dbus.Config{ See: nil, -- cgit v1.3.1