~mvo/snapd/+git/snapd-mvo:create-user-on-core

Last commit made on 2019-04-05
Get this branch:
git clone -b create-user-on-core https://git.launchpad.net/~mvo/snapd/+git/snapd-mvo

Branch merges

Branch information

Name:
create-user-on-core
Repository:
lp:~mvo/snapd/+git/snapd-mvo

Recent commits

adde3c6... by Michael Vogt

tests: run create-user on core devices

The current "snap create-user" test runs on classic only. This
is bad for multiple reasons. The main use-case of this feature
are core devices and we are considering to drop support for this
on classic entirely.

So this PR changes the test to run on core16 now and once the
"shadow" package SRU pending in
https://launchpad.net/ubuntu/+source/shadow/1:4.5-1ubuntu2
is merged we can enable it on core18 too.

5543830... by Michael Vogt

Merge pull request #6583 from zyga/tweak/refactor-sc-main-5

cmd/snap-confine: move ubuntu-core fallback checks

44cf728... by Maciej Borzecki

Merge pull request #6686 from mvo5/shellcheck-mock-madness

testutil: fix MockCmd for shellcheck 0.5

3b0dce4... by Michael Vogt

testutil: fix MockCmd for shellcheck 0.5

With shellcheck 0.5 there is an error that
```
printf "\0"
```
should be use single quotes (SC1117). This PR fixes this.

a16857b... by Maciej Borzecki

Merge pull request #6682 from bboozzoo/bboozzoo/gadget-separate-package

snap, gadget: move gadget read/validation into separate package, tweak naming

eb05281... by Maciej Borzecki

Merge pull request #6656 from sergiocazzolato/tests-split-spread-execution-on-2-jobs

tests: split travis spread execution in 2 jobs for ubuntu and non ubuntu systems

1004fc0... by Maciej Borzecki

gadget: tweak variable naming

Signed-off-by: Maciej Borzecki <email address hidden>

a5b6db9... by Maciej Borzecki

Merge pull request #6683 from bboozzoo/bboozzoo/shellcheck-in-your-face

testutil: make mocked command work with shellcheck from snaps

bf24be3... by Maciej Borzecki

testutil: make mocked command work with shellcheck from snaps

When shellcheck is running from a snap it will get a private /tmp. Scripts are
generated in a workdir that is places under /tmp, but inside the host mount
namespace, thus the file will not be accessible by shellcheck.

Work around that by feeding the script to be checked through stdin.

Signed-off-by: Maciej Borzecki <email address hidden>

f0ee90c... by Maciej Borzecki

Merge pull request #6654 from bboozzoo/bboozzoo/selinux-mount-patch-helper

packaging/fedora, tests/upgrade/basic: patch existing mount units with SELinux context on upgrade