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.
This commit is contained in:
Maximilian Federle
2020-04-16 19:54:39 +02:00
committed by Laurent Trinques
parent 983d78727c
commit 74d5d0f6ef

View File

@@ -13,9 +13,9 @@ confinement: strict
layout: layout:
/usr/local/share/qelectrotech: /usr/local/share/qelectrotech:
bind: $SNAP/usr/local/share/qelectrotech symlink: $SNAP/usr/local/share/qelectrotech
/usr/share/libdrm/amdgpu.ids: /usr/share/libdrm/amdgpu.ids:
bind-file: $SNAP/kf5/usr/share/libdrm/amdgpu.ids symlink: $SNAP/kf5/usr/share/libdrm/amdgpu.ids
apps: apps:
qelectrotech: qelectrotech: