hst/instance: embed config struct
Some checks failed
Test / Create distribution (push) Successful in 33s
Test / Sandbox (push) Successful in 2m11s
Test / Hakurei (push) Failing after 2m40s
Test / Sandbox (race detector) (push) Successful in 3m54s
Test / Hpkg (push) Failing after 3m58s
Test / Hakurei (race detector) (push) Failing after 4m11s
Test / Flake checks (push) Has been skipped
Some checks failed
Test / Create distribution (push) Successful in 33s
Test / Sandbox (push) Successful in 2m11s
Test / Hakurei (push) Failing after 2m40s
Test / Sandbox (race detector) (push) Successful in 3m54s
Test / Hpkg (push) Failing after 3m58s
Test / Hakurei (race detector) (push) Failing after 4m11s
Test / Flake checks (push) Has been skipped
This makes the resulting json easier to parse since it can now be deserialised into the config struct. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
parent
05488bfb8f
commit
71f748557d
@ -189,154 +189,152 @@ App
|
|||||||
"instance": "8e2c76b066dabe574cf073bdb46eb5c1",
|
"instance": "8e2c76b066dabe574cf073bdb46eb5c1",
|
||||||
"pid": 3405691582,
|
"pid": 3405691582,
|
||||||
"shim_pid": 3735928559,
|
"shim_pid": 3735928559,
|
||||||
"config": {
|
"id": "org.chromium.Chromium",
|
||||||
"id": "org.chromium.Chromium",
|
"enablements": {
|
||||||
"enablements": {
|
"wayland": true,
|
||||||
"wayland": true,
|
"dbus": true,
|
||||||
"dbus": true,
|
"pulse": true
|
||||||
"pulse": true
|
},
|
||||||
|
"session_bus": {
|
||||||
|
"see": null,
|
||||||
|
"talk": [
|
||||||
|
"org.freedesktop.Notifications",
|
||||||
|
"org.freedesktop.FileManager1",
|
||||||
|
"org.freedesktop.ScreenSaver",
|
||||||
|
"org.freedesktop.secrets",
|
||||||
|
"org.kde.kwalletd5",
|
||||||
|
"org.kde.kwalletd6",
|
||||||
|
"org.gnome.SessionManager"
|
||||||
|
],
|
||||||
|
"own": [
|
||||||
|
"org.chromium.Chromium.*",
|
||||||
|
"org.mpris.MediaPlayer2.org.chromium.Chromium.*",
|
||||||
|
"org.mpris.MediaPlayer2.chromium.*"
|
||||||
|
],
|
||||||
|
"call": {
|
||||||
|
"org.freedesktop.portal.*": "*"
|
||||||
},
|
},
|
||||||
"session_bus": {
|
"broadcast": {
|
||||||
"see": null,
|
"org.freedesktop.portal.*": "@/org/freedesktop/portal/*"
|
||||||
"talk": [
|
|
||||||
"org.freedesktop.Notifications",
|
|
||||||
"org.freedesktop.FileManager1",
|
|
||||||
"org.freedesktop.ScreenSaver",
|
|
||||||
"org.freedesktop.secrets",
|
|
||||||
"org.kde.kwalletd5",
|
|
||||||
"org.kde.kwalletd6",
|
|
||||||
"org.gnome.SessionManager"
|
|
||||||
],
|
|
||||||
"own": [
|
|
||||||
"org.chromium.Chromium.*",
|
|
||||||
"org.mpris.MediaPlayer2.org.chromium.Chromium.*",
|
|
||||||
"org.mpris.MediaPlayer2.chromium.*"
|
|
||||||
],
|
|
||||||
"call": {
|
|
||||||
"org.freedesktop.portal.*": "*"
|
|
||||||
},
|
|
||||||
"broadcast": {
|
|
||||||
"org.freedesktop.portal.*": "@/org/freedesktop/portal/*"
|
|
||||||
},
|
|
||||||
"filter": true
|
|
||||||
},
|
},
|
||||||
"system_bus": {
|
"filter": true
|
||||||
"see": null,
|
},
|
||||||
"talk": [
|
"system_bus": {
|
||||||
"org.bluez",
|
"see": null,
|
||||||
"org.freedesktop.Avahi",
|
"talk": [
|
||||||
"org.freedesktop.UPower"
|
"org.bluez",
|
||||||
],
|
"org.freedesktop.Avahi",
|
||||||
"own": null,
|
"org.freedesktop.UPower"
|
||||||
"call": null,
|
],
|
||||||
"broadcast": null,
|
"own": null,
|
||||||
"filter": true
|
"call": null,
|
||||||
|
"broadcast": null,
|
||||||
|
"filter": true
|
||||||
|
},
|
||||||
|
"extra_perms": [
|
||||||
|
{
|
||||||
|
"ensure": true,
|
||||||
|
"path": "/var/lib/hakurei/u0",
|
||||||
|
"x": true
|
||||||
},
|
},
|
||||||
"extra_perms": [
|
{
|
||||||
|
"path": "/var/lib/hakurei/u0/org.chromium.Chromium",
|
||||||
|
"r": true,
|
||||||
|
"w": true,
|
||||||
|
"x": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"identity": 9,
|
||||||
|
"groups": [
|
||||||
|
"video",
|
||||||
|
"dialout",
|
||||||
|
"plugdev"
|
||||||
|
],
|
||||||
|
"container": {
|
||||||
|
"hostname": "localhost",
|
||||||
|
"wait_delay": -1,
|
||||||
|
"env": {
|
||||||
|
"GOOGLE_API_KEY": "AIzaSyBHDrl33hwRp4rMQY0ziRbj8K9LPA6vUCY",
|
||||||
|
"GOOGLE_DEFAULT_CLIENT_ID": "77185425430.apps.googleusercontent.com",
|
||||||
|
"GOOGLE_DEFAULT_CLIENT_SECRET": "OTJgUOQcT7lO7GsGZq2G4IlT"
|
||||||
|
},
|
||||||
|
"filesystem": [
|
||||||
{
|
{
|
||||||
"ensure": true,
|
"type": "bind",
|
||||||
"path": "/var/lib/hakurei/u0",
|
"dst": "/",
|
||||||
"x": true
|
"src": "/var/lib/hakurei/base/org.debian",
|
||||||
|
"write": true,
|
||||||
|
"special": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "/var/lib/hakurei/u0/org.chromium.Chromium",
|
"type": "bind",
|
||||||
"r": true,
|
"dst": "/etc/",
|
||||||
"w": true,
|
"src": "/etc/",
|
||||||
"x": true
|
"special": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "ephemeral",
|
||||||
|
"dst": "/tmp/",
|
||||||
|
"write": true,
|
||||||
|
"perm": 493
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "overlay",
|
||||||
|
"dst": "/nix/store",
|
||||||
|
"lower": [
|
||||||
|
"/var/lib/hakurei/base/org.nixos/ro-store"
|
||||||
|
],
|
||||||
|
"upper": "/var/lib/hakurei/nix/u0/org.chromium.Chromium/rw-store/upper",
|
||||||
|
"work": "/var/lib/hakurei/nix/u0/org.chromium.Chromium/rw-store/work"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "link",
|
||||||
|
"dst": "/run/current-system",
|
||||||
|
"linkname": "/run/current-system",
|
||||||
|
"dereference": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "link",
|
||||||
|
"dst": "/run/opengl-driver",
|
||||||
|
"linkname": "/run/opengl-driver",
|
||||||
|
"dereference": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "bind",
|
||||||
|
"dst": "/data/data/org.chromium.Chromium",
|
||||||
|
"src": "/var/lib/hakurei/u0/org.chromium.Chromium",
|
||||||
|
"write": true,
|
||||||
|
"ensure": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "bind",
|
||||||
|
"src": "/dev/dri",
|
||||||
|
"dev": true,
|
||||||
|
"optional": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"identity": 9,
|
"username": "chronos",
|
||||||
"groups": [
|
"shell": "/run/current-system/sw/bin/zsh",
|
||||||
"video",
|
"home": "/data/data/org.chromium.Chromium",
|
||||||
"dialout",
|
"path": "/run/current-system/sw/bin/chromium",
|
||||||
"plugdev"
|
"args": [
|
||||||
|
"chromium",
|
||||||
|
"--ignore-gpu-blocklist",
|
||||||
|
"--disable-smooth-scrolling",
|
||||||
|
"--enable-features=UseOzonePlatform",
|
||||||
|
"--ozone-platform=wayland"
|
||||||
],
|
],
|
||||||
"container": {
|
"seccomp_compat": true,
|
||||||
"hostname": "localhost",
|
"devel": true,
|
||||||
"wait_delay": -1,
|
"userns": true,
|
||||||
"env": {
|
"host_net": true,
|
||||||
"GOOGLE_API_KEY": "AIzaSyBHDrl33hwRp4rMQY0ziRbj8K9LPA6vUCY",
|
"host_abstract": true,
|
||||||
"GOOGLE_DEFAULT_CLIENT_ID": "77185425430.apps.googleusercontent.com",
|
"tty": true,
|
||||||
"GOOGLE_DEFAULT_CLIENT_SECRET": "OTJgUOQcT7lO7GsGZq2G4IlT"
|
"multiarch": true,
|
||||||
},
|
"map_real_uid": true,
|
||||||
"filesystem": [
|
"device": true,
|
||||||
{
|
"share_runtime": true,
|
||||||
"type": "bind",
|
"share_tmpdir": true
|
||||||
"dst": "/",
|
|
||||||
"src": "/var/lib/hakurei/base/org.debian",
|
|
||||||
"write": true,
|
|
||||||
"special": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "bind",
|
|
||||||
"dst": "/etc/",
|
|
||||||
"src": "/etc/",
|
|
||||||
"special": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "ephemeral",
|
|
||||||
"dst": "/tmp/",
|
|
||||||
"write": true,
|
|
||||||
"perm": 493
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "overlay",
|
|
||||||
"dst": "/nix/store",
|
|
||||||
"lower": [
|
|
||||||
"/var/lib/hakurei/base/org.nixos/ro-store"
|
|
||||||
],
|
|
||||||
"upper": "/var/lib/hakurei/nix/u0/org.chromium.Chromium/rw-store/upper",
|
|
||||||
"work": "/var/lib/hakurei/nix/u0/org.chromium.Chromium/rw-store/work"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "link",
|
|
||||||
"dst": "/run/current-system",
|
|
||||||
"linkname": "/run/current-system",
|
|
||||||
"dereference": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "link",
|
|
||||||
"dst": "/run/opengl-driver",
|
|
||||||
"linkname": "/run/opengl-driver",
|
|
||||||
"dereference": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "bind",
|
|
||||||
"dst": "/data/data/org.chromium.Chromium",
|
|
||||||
"src": "/var/lib/hakurei/u0/org.chromium.Chromium",
|
|
||||||
"write": true,
|
|
||||||
"ensure": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "bind",
|
|
||||||
"src": "/dev/dri",
|
|
||||||
"dev": true,
|
|
||||||
"optional": true
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"username": "chronos",
|
|
||||||
"shell": "/run/current-system/sw/bin/zsh",
|
|
||||||
"home": "/data/data/org.chromium.Chromium",
|
|
||||||
"path": "/run/current-system/sw/bin/chromium",
|
|
||||||
"args": [
|
|
||||||
"chromium",
|
|
||||||
"--ignore-gpu-blocklist",
|
|
||||||
"--disable-smooth-scrolling",
|
|
||||||
"--enable-features=UseOzonePlatform",
|
|
||||||
"--ozone-platform=wayland"
|
|
||||||
],
|
|
||||||
"seccomp_compat": true,
|
|
||||||
"devel": true,
|
|
||||||
"userns": true,
|
|
||||||
"host_net": true,
|
|
||||||
"host_abstract": true,
|
|
||||||
"tty": true,
|
|
||||||
"multiarch": true,
|
|
||||||
"map_real_uid": true,
|
|
||||||
"device": true,
|
|
||||||
"share_runtime": true,
|
|
||||||
"share_tmpdir": true
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"time": "1970-01-01T00:00:00.000000009Z"
|
"time": "1970-01-01T00:00:00.000000009Z"
|
||||||
}
|
}
|
||||||
@ -537,154 +535,152 @@ func TestPrintPs(t *testing.T) {
|
|||||||
"instance": "8e2c76b066dabe574cf073bdb46eb5c1",
|
"instance": "8e2c76b066dabe574cf073bdb46eb5c1",
|
||||||
"pid": 3405691582,
|
"pid": 3405691582,
|
||||||
"shim_pid": 3735928559,
|
"shim_pid": 3735928559,
|
||||||
"config": {
|
"id": "org.chromium.Chromium",
|
||||||
"id": "org.chromium.Chromium",
|
"enablements": {
|
||||||
"enablements": {
|
"wayland": true,
|
||||||
"wayland": true,
|
"dbus": true,
|
||||||
"dbus": true,
|
"pulse": true
|
||||||
"pulse": true
|
},
|
||||||
|
"session_bus": {
|
||||||
|
"see": null,
|
||||||
|
"talk": [
|
||||||
|
"org.freedesktop.Notifications",
|
||||||
|
"org.freedesktop.FileManager1",
|
||||||
|
"org.freedesktop.ScreenSaver",
|
||||||
|
"org.freedesktop.secrets",
|
||||||
|
"org.kde.kwalletd5",
|
||||||
|
"org.kde.kwalletd6",
|
||||||
|
"org.gnome.SessionManager"
|
||||||
|
],
|
||||||
|
"own": [
|
||||||
|
"org.chromium.Chromium.*",
|
||||||
|
"org.mpris.MediaPlayer2.org.chromium.Chromium.*",
|
||||||
|
"org.mpris.MediaPlayer2.chromium.*"
|
||||||
|
],
|
||||||
|
"call": {
|
||||||
|
"org.freedesktop.portal.*": "*"
|
||||||
},
|
},
|
||||||
"session_bus": {
|
"broadcast": {
|
||||||
"see": null,
|
"org.freedesktop.portal.*": "@/org/freedesktop/portal/*"
|
||||||
"talk": [
|
|
||||||
"org.freedesktop.Notifications",
|
|
||||||
"org.freedesktop.FileManager1",
|
|
||||||
"org.freedesktop.ScreenSaver",
|
|
||||||
"org.freedesktop.secrets",
|
|
||||||
"org.kde.kwalletd5",
|
|
||||||
"org.kde.kwalletd6",
|
|
||||||
"org.gnome.SessionManager"
|
|
||||||
],
|
|
||||||
"own": [
|
|
||||||
"org.chromium.Chromium.*",
|
|
||||||
"org.mpris.MediaPlayer2.org.chromium.Chromium.*",
|
|
||||||
"org.mpris.MediaPlayer2.chromium.*"
|
|
||||||
],
|
|
||||||
"call": {
|
|
||||||
"org.freedesktop.portal.*": "*"
|
|
||||||
},
|
|
||||||
"broadcast": {
|
|
||||||
"org.freedesktop.portal.*": "@/org/freedesktop/portal/*"
|
|
||||||
},
|
|
||||||
"filter": true
|
|
||||||
},
|
},
|
||||||
"system_bus": {
|
"filter": true
|
||||||
"see": null,
|
},
|
||||||
"talk": [
|
"system_bus": {
|
||||||
"org.bluez",
|
"see": null,
|
||||||
"org.freedesktop.Avahi",
|
"talk": [
|
||||||
"org.freedesktop.UPower"
|
"org.bluez",
|
||||||
],
|
"org.freedesktop.Avahi",
|
||||||
"own": null,
|
"org.freedesktop.UPower"
|
||||||
"call": null,
|
],
|
||||||
"broadcast": null,
|
"own": null,
|
||||||
"filter": true
|
"call": null,
|
||||||
|
"broadcast": null,
|
||||||
|
"filter": true
|
||||||
|
},
|
||||||
|
"extra_perms": [
|
||||||
|
{
|
||||||
|
"ensure": true,
|
||||||
|
"path": "/var/lib/hakurei/u0",
|
||||||
|
"x": true
|
||||||
},
|
},
|
||||||
"extra_perms": [
|
{
|
||||||
|
"path": "/var/lib/hakurei/u0/org.chromium.Chromium",
|
||||||
|
"r": true,
|
||||||
|
"w": true,
|
||||||
|
"x": true
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"identity": 9,
|
||||||
|
"groups": [
|
||||||
|
"video",
|
||||||
|
"dialout",
|
||||||
|
"plugdev"
|
||||||
|
],
|
||||||
|
"container": {
|
||||||
|
"hostname": "localhost",
|
||||||
|
"wait_delay": -1,
|
||||||
|
"env": {
|
||||||
|
"GOOGLE_API_KEY": "AIzaSyBHDrl33hwRp4rMQY0ziRbj8K9LPA6vUCY",
|
||||||
|
"GOOGLE_DEFAULT_CLIENT_ID": "77185425430.apps.googleusercontent.com",
|
||||||
|
"GOOGLE_DEFAULT_CLIENT_SECRET": "OTJgUOQcT7lO7GsGZq2G4IlT"
|
||||||
|
},
|
||||||
|
"filesystem": [
|
||||||
{
|
{
|
||||||
"ensure": true,
|
"type": "bind",
|
||||||
"path": "/var/lib/hakurei/u0",
|
"dst": "/",
|
||||||
"x": true
|
"src": "/var/lib/hakurei/base/org.debian",
|
||||||
|
"write": true,
|
||||||
|
"special": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "/var/lib/hakurei/u0/org.chromium.Chromium",
|
"type": "bind",
|
||||||
"r": true,
|
"dst": "/etc/",
|
||||||
"w": true,
|
"src": "/etc/",
|
||||||
"x": true
|
"special": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "ephemeral",
|
||||||
|
"dst": "/tmp/",
|
||||||
|
"write": true,
|
||||||
|
"perm": 493
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "overlay",
|
||||||
|
"dst": "/nix/store",
|
||||||
|
"lower": [
|
||||||
|
"/var/lib/hakurei/base/org.nixos/ro-store"
|
||||||
|
],
|
||||||
|
"upper": "/var/lib/hakurei/nix/u0/org.chromium.Chromium/rw-store/upper",
|
||||||
|
"work": "/var/lib/hakurei/nix/u0/org.chromium.Chromium/rw-store/work"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "link",
|
||||||
|
"dst": "/run/current-system",
|
||||||
|
"linkname": "/run/current-system",
|
||||||
|
"dereference": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "link",
|
||||||
|
"dst": "/run/opengl-driver",
|
||||||
|
"linkname": "/run/opengl-driver",
|
||||||
|
"dereference": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "bind",
|
||||||
|
"dst": "/data/data/org.chromium.Chromium",
|
||||||
|
"src": "/var/lib/hakurei/u0/org.chromium.Chromium",
|
||||||
|
"write": true,
|
||||||
|
"ensure": true
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "bind",
|
||||||
|
"src": "/dev/dri",
|
||||||
|
"dev": true,
|
||||||
|
"optional": true
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"identity": 9,
|
"username": "chronos",
|
||||||
"groups": [
|
"shell": "/run/current-system/sw/bin/zsh",
|
||||||
"video",
|
"home": "/data/data/org.chromium.Chromium",
|
||||||
"dialout",
|
"path": "/run/current-system/sw/bin/chromium",
|
||||||
"plugdev"
|
"args": [
|
||||||
|
"chromium",
|
||||||
|
"--ignore-gpu-blocklist",
|
||||||
|
"--disable-smooth-scrolling",
|
||||||
|
"--enable-features=UseOzonePlatform",
|
||||||
|
"--ozone-platform=wayland"
|
||||||
],
|
],
|
||||||
"container": {
|
"seccomp_compat": true,
|
||||||
"hostname": "localhost",
|
"devel": true,
|
||||||
"wait_delay": -1,
|
"userns": true,
|
||||||
"env": {
|
"host_net": true,
|
||||||
"GOOGLE_API_KEY": "AIzaSyBHDrl33hwRp4rMQY0ziRbj8K9LPA6vUCY",
|
"host_abstract": true,
|
||||||
"GOOGLE_DEFAULT_CLIENT_ID": "77185425430.apps.googleusercontent.com",
|
"tty": true,
|
||||||
"GOOGLE_DEFAULT_CLIENT_SECRET": "OTJgUOQcT7lO7GsGZq2G4IlT"
|
"multiarch": true,
|
||||||
},
|
"map_real_uid": true,
|
||||||
"filesystem": [
|
"device": true,
|
||||||
{
|
"share_runtime": true,
|
||||||
"type": "bind",
|
"share_tmpdir": true
|
||||||
"dst": "/",
|
|
||||||
"src": "/var/lib/hakurei/base/org.debian",
|
|
||||||
"write": true,
|
|
||||||
"special": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "bind",
|
|
||||||
"dst": "/etc/",
|
|
||||||
"src": "/etc/",
|
|
||||||
"special": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "ephemeral",
|
|
||||||
"dst": "/tmp/",
|
|
||||||
"write": true,
|
|
||||||
"perm": 493
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "overlay",
|
|
||||||
"dst": "/nix/store",
|
|
||||||
"lower": [
|
|
||||||
"/var/lib/hakurei/base/org.nixos/ro-store"
|
|
||||||
],
|
|
||||||
"upper": "/var/lib/hakurei/nix/u0/org.chromium.Chromium/rw-store/upper",
|
|
||||||
"work": "/var/lib/hakurei/nix/u0/org.chromium.Chromium/rw-store/work"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "link",
|
|
||||||
"dst": "/run/current-system",
|
|
||||||
"linkname": "/run/current-system",
|
|
||||||
"dereference": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "link",
|
|
||||||
"dst": "/run/opengl-driver",
|
|
||||||
"linkname": "/run/opengl-driver",
|
|
||||||
"dereference": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "bind",
|
|
||||||
"dst": "/data/data/org.chromium.Chromium",
|
|
||||||
"src": "/var/lib/hakurei/u0/org.chromium.Chromium",
|
|
||||||
"write": true,
|
|
||||||
"ensure": true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"type": "bind",
|
|
||||||
"src": "/dev/dri",
|
|
||||||
"dev": true,
|
|
||||||
"optional": true
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"username": "chronos",
|
|
||||||
"shell": "/run/current-system/sw/bin/zsh",
|
|
||||||
"home": "/data/data/org.chromium.Chromium",
|
|
||||||
"path": "/run/current-system/sw/bin/chromium",
|
|
||||||
"args": [
|
|
||||||
"chromium",
|
|
||||||
"--ignore-gpu-blocklist",
|
|
||||||
"--disable-smooth-scrolling",
|
|
||||||
"--enable-features=UseOzonePlatform",
|
|
||||||
"--ozone-platform=wayland"
|
|
||||||
],
|
|
||||||
"seccomp_compat": true,
|
|
||||||
"devel": true,
|
|
||||||
"userns": true,
|
|
||||||
"host_net": true,
|
|
||||||
"host_abstract": true,
|
|
||||||
"tty": true,
|
|
||||||
"multiarch": true,
|
|
||||||
"map_real_uid": true,
|
|
||||||
"device": true,
|
|
||||||
"share_runtime": true,
|
|
||||||
"share_tmpdir": true
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"time": "1970-01-01T00:00:00.000000009Z"
|
"time": "1970-01-01T00:00:00.000000009Z"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -80,7 +80,7 @@ type State struct {
|
|||||||
ShimPID int `json:"shim_pid"`
|
ShimPID int `json:"shim_pid"`
|
||||||
|
|
||||||
// Configuration used to start the container.
|
// Configuration used to start the container.
|
||||||
Config *Config `json:"config"`
|
*Config
|
||||||
|
|
||||||
// Point in time the shim process was created.
|
// Point in time the shim process was created.
|
||||||
Time time.Time `json:"time"`
|
Time time.Time `json:"time"`
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user