snapcraft.yaml: fix snapcraft building in launchpad
We recently switched to building with golang-1.10. When using this
package there is no "go" binary in the PATH so we must setup the
PATH correctly in our go build plugin.
interfaces/apparmor: mock presence of overlayfs root
During the release of the snapd 2.37 we noticed that the Debian
builds performed in sbuild are failing on several unit tests. The same
source package would build file in pbuilder.
Investigation uncovered that sbuild is using overlayfs root internally.
This is picked up by the apparmor overlayfs detector and causes snapd to
generate an additional configuration file for snap-confine.
For reference, the offending entry from /proc/self/mountinfo:
tests: get test-snapd-dbus-{provider,consumer} from the beta channel
We currently get test-snapd-dbus-{provider,consumer} from the
edge channel. This means a bad upload to edge (which is auto-build
from the bzr branches) will break the tests.