Merge ~alfonsosanchezbeato/snappy-hwe-snaps/+git/network-manager:fix-dnsmasq-path into ~snappy-hwe-team/snappy-hwe-snaps/+git/network-manager:snap-1.10

Proposed by Alfonso Sanchez-Beato
Status: Merged
Approved by: Alfonso Sanchez-Beato
Approved revision: 68974318a397024db1eee60761b9ae4e9ef38446
Merged at revision: f41ef832ab71c1c07e540d0a08d7c19d67edf931
Proposed branch: ~alfonsosanchezbeato/snappy-hwe-snaps/+git/network-manager:fix-dnsmasq-path
Merge into: ~snappy-hwe-team/snappy-hwe-snaps/+git/network-manager:snap-1.10
Diff against target: 95 lines (+5/-35)
1 file modified
snap/snapcraft.yaml (+5/-35)
Reviewer Review Type Date Requested Status
System Enablement Bot continuous-integration Approve
Review via email: mp+380836@code.launchpad.net

Commit message

snap: update to newer NM deb package
snap: set dnsmasq path to the one in the snap

To post a comment you must log in.
Revision history for this message
System Enablement Bot (system-enablement-ci-bot) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
2index 258c961..c3a6cb9 100644
3--- a/snap/snapcraft.yaml
4+++ b/snap/snapcraft.yaml
5@@ -7,7 +7,8 @@ description: |
6 when available. It manages ethernet, WiFi, mobile broadband (WWAN) and
7 PPPoE devices, provides VPN integration with a variety of different
8 VPN serivces.
9- Please find the source code at: https://code.launchpad.net/~snappy-hwe-team/snappy-hwe-snaps/+git/network-manager/+ref/snap-1.10
10+ Please find the source code for this track at:
11+ https://code.launchpad.net/~snappy-hwe-team/snappy-hwe-snaps/+git/network-manager/+ref/snap-1.10
12 base: core18
13 confinement: strict
14 grade: stable
15@@ -28,6 +29,7 @@ hooks:
16 # network is needed to avoid some denials when using snapctl
17 - network
18 - network-setup-observe
19+
20 apps:
21 nmcli:
22 command: usr/bin/nmcli
23@@ -81,33 +83,11 @@ parts:
24 prime:
25 - $binaries
26
27- #
28- # TODO: investigate whether this HACK is still needed. The script
29- # dhcp-lease-mover relies on inotifywait to determine if any DHCP
30- # DHCP leases stored under $SNAP_DATA are created or modified, and
31- # if so, it triggers a copy of the files to /run/NetworkManager/dhcp.
32- # This is done so that subiquity's hardware probing tool (probert) is
33- # able to detect active leases.
34- #
35- #inotify-tools:
36- # plugin: nil
37- # stage-packages:
38- # - libinotifytools0
39- # - inotify-tools
40- # filesets:
41- # wanted:
42- # - usr/share/doc/inotify-tools/copyright
43- # - usr/bin/inotifywait
44- # - usr/share/doc/libinotifytools0/copyright
45- # - usr/lib/libinotifytools.so.0.4.1
46- # - usr/lib/libinotifytools.so.0
47- # snap:
48- # - $wanted
49 networkmanager:
50 plugin: autotools
51 source: https://git.launchpad.net/ubuntu/+source/network-manager
52 source-type: git
53- source-branch: applied/1.10.6-2ubuntu1.2
54+ source-branch: applied/1.10.6-2ubuntu1.4
55 build-packages:
56 - intltool
57 - libdbus-glib-1-dev
58@@ -150,16 +130,12 @@ parts:
59 # dhcp handled by systemd client
60 - --with-dhcpcd=no
61 - --with-dhclient=no
62- - --with-dnsmasq=no
63+ - --with-dnsmasq=/snap/$SNAPCRAFT_PROJECT_NAME/current/sbin/dnsmasq
64 - --with-iptables=/sbin/iptables
65 - --with-systemd-journal=yes
66 - --libexecdir=/snap/$SNAPCRAFT_PROJECT_NAME/current/usr/lib/NetworkManager
67 - --with-pppd=/snap/$SNAPCRAFT_PROJECT_NAME/current/usr/sbin/pppd
68 - --with-resolvconf=/snap/$SNAPCRAFT_PROJECT_NAME/current/sbin/resolvconf
69- #
70- # TODO: dnsmasq is used for AP mode; not
71- # currently supported by the snap:
72- # - --with-dnsmasq=/usr/sbin/dnsmasq
73 - --with-dnssec-trigger=/usr/lib/dnssec-trigger/dnssec-trigger-script
74 - --with-systemdsystemunitdir=/lib/systemd/system
75 - --with-udev-dir=/lib/udev
76@@ -232,11 +208,6 @@ parts:
77 snapcraftctl stage
78 patch -p1 < "$SNAPCRAFT_PROJECT_DIR"/snap-patch/resolvconf.patch
79
80- # Filter files pulled in by stage-packages so they aren't
81- # included in the final snap. We only need them to build
82- # NetworkManager. All runtime dependencies are pulled in with
83- # the rdepends part below. The only left items specified
84- # here are the results of the network manager build.
85 filesets:
86 binaries:
87 - sbin/resolvconf
88@@ -321,7 +292,6 @@ parts:
89 # Things we don't support yet and don't have to ship
90 - -usr/lib/NetworkManager/libnm-device-plugin-adsl.so
91 - -usr/lib/NetworkManager/libnm-device-plugin-bluetooth.so
92-
93 # Some additional build artifacts we do not need
94 - -usr/lib/pkgconfig
95 prime:

Subscribers

People subscribed via source and target branches