From ebe80cd60a32fdada3c82d963d4f330d22fbc72f Mon Sep 17 00:00:00 2001 From: Casper da Costa-Luis Date: Sat, 30 Nov 2019 00:28:56 +0000 Subject: [PATCH] attempt to use layout --- snap/snapcraft.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 359147ff3..1aa359ce1 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -10,13 +10,12 @@ plugs: config-dvc: interface: system-files read: - - /etc/dvc/dvc.conf - - /etc/hosts - /etc/host.conf - /etc/resolv.conf - write: - - /etc/dvc - - /etc/dvc/dvc.conf + - /etc/hosts +layout: + /etc/dvc: + bind: $SNAP_DATA/etc/dvc parts: dvc: plugin: python @@ -42,6 +41,7 @@ apps: completer: completion.sh environment: GIT_PYTHON_GIT_EXECUTABLE: $SNAP/usr/bin/git + XDG_CONFIG_DIRS: /etc plugs: - config-dvc - home