[gnome-weather/wip/cdavis/close-sandbox-holes: 16/16] flatpak: Close sandbox holes




commit ca1ad2884c0cc7db11836159f1d2d96aa83c3ca9
Author: Christopher Davis <brainblasted disroot org>
Date:   Fri Oct 23 18:05:15 2020 -0700

    flatpak: Close sandbox holes
    
    Close the dconf hole and use fallback-x11.
    The dconf hole is no longer needed as there
    is a keyfile backend used by defaults
    in flatpaks.

 org.gnome.Weather.json | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/org.gnome.Weather.json b/org.gnome.Weather.json
index 5a8cb17..a1899fc 100644
--- a/org.gnome.Weather.json
+++ b/org.gnome.Weather.json
@@ -9,15 +9,12 @@
     ],
     "finish-args" : [
         "--share=ipc",
-        "--socket=x11",
+        "--socket=fallback-x11",
         "--socket=wayland",
         "--share=network",
         "--system-talk-name=org.freedesktop.GeoClue2",
-        "--filesystem=xdg-run/dconf",
-        "--filesystem=~/.config/dconf:ro",
-        "--talk-name=ca.desrt.dconf",
-        "--env=DCONF_USER_CONFIG_DIR=.config/dconf",
-        "--env=G_ENABLE_DIAGNOSTIC=1"
+        "--env=G_ENABLE_DIAGNOSTIC=1",
+        "--metadata=X-DConf=migrate-path=/org/gnome/Weather/"
     ],
     "cleanup" : [
         "/include",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]