diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 65c3a277e013efd93b68355a4cc632aec2f3ea2e..5e5fa5ae9ed29d3c341243366a28e8d5bd303fde 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -19,6 +19,8 @@ architectures: layout: /usr/sbin/pppd: bind-file: $SNAP/usr/sbin/pppd + /sbin/resolvconf: + bind-file: $SNAP/sbin/resolvconf /etc/openfortivpn: bind: $SNAP_COMMON @@ -36,6 +38,7 @@ parts: plugin: autotools configflags: - --with-pppd=/usr/sbin/pppd + - --with-resolvconf=/sbin/resolvconf build-packages: - git - build-essential @@ -44,9 +47,14 @@ parts: - libsystemd-dev stage-packages: - ppp + - resolvconf stage: - bin/openfortivpn + - etc/network/* - etc/ppp/* + - etc/resolvconf/* + - lib/resolvconf/list-records + - sbin/resolvconf - share/* - usr/sbin/pppd - usr/lib