From 74d5d0f6ef703a65e379f1884a432a7f8c016e93 Mon Sep 17 00:00:00 2001 From: Maximilian Federle Date: Thu, 16 Apr 2020 19:54:39 +0200 Subject: [PATCH] snap: Use symlinks instead of bind-mounts As per https://snapcraft.io/docs/snap-layouts, bind-mounts significantly increase the startup time of the snap. Use symlinks instead for better performance. --- build-aux/snap/snapcraft.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-aux/snap/snapcraft.yaml b/build-aux/snap/snapcraft.yaml index 45e79f036..746356906 100644 --- a/build-aux/snap/snapcraft.yaml +++ b/build-aux/snap/snapcraft.yaml @@ -13,9 +13,9 @@ confinement: strict layout: /usr/local/share/qelectrotech: - bind: $SNAP/usr/local/share/qelectrotech + symlink: $SNAP/usr/local/share/qelectrotech /usr/share/libdrm/amdgpu.ids: - bind-file: $SNAP/kf5/usr/share/libdrm/amdgpu.ids + symlink: $SNAP/kf5/usr/share/libdrm/amdgpu.ids apps: qelectrotech: