~mvo/snapd/+git/snapd-mvo:fix-debian-9-2.37

Last commit made on 2019-01-29
Get this branch:
git clone -b fix-debian-9-2.37 https://git.launchpad.net/~mvo/snapd/+git/snapd-mvo

Branch merges

Branch information

Name:
fix-debian-9-2.37
Repository:
lp:~mvo/snapd/+git/snapd-mvo

Recent commits

843d018... by Maciej Borzecki

tests/lib/prepare-restore: make the Go workaround Debian 9 specific

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

868e904... by Maciej Borzecki

tests/lib/prepare: tweak the workaround for golang-1.10 in Debian

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

bc39a90... by Michael Vogt

prepare-restore.sh: fix silly typo

333fcdd... by Samuele Pedroni

use a more precise name for the helper script

81a401a... by Michael Vogt

tests: workaround missing go dependencies in debian-9

The debian-9 image we use has no golang-1.10 anymore. This makes
the tests fail right now. To fix this we need to install the latest
golang available via skretch-backports. This may change so there is
a small script that detects the right version.

535715b... by Michael Vogt

Merge pull request #6435 from jdstrand/add-display-control-2.37

interfaces: add display-control interface - 2.37

0059aa9... by Jamie Strandboge

add DBus methods for controlling brightness and dynamically detect backlights

The kernel supports many different backlights with differing names in
/sys/devices, so listing them in static rules is cumbersome and there is
a maintenance burden of keeping in sync with new devices. The kernel
will put a symlink under /sys/class/backlight for each backlight, so we
can dereference the symlink for the /sys/devices paths. This works well
for permanently attached devices like laptop screens or other primary
screens since they aren't expected to change (even if they did on
reboot, snapd would notice this and adjust the policy).

snapd will not notice a new hotplugged monitor (but would if it was
plugged in on boot). A future update could utilize snapd's hotplug
support.

3eac4b0... by Jamie Strandboge

interfaces: add display-control interface

References:
https://forum.snapcraft.io/t/interface-to-change-display-brightness/8890

c477f2a... by Michael Vogt

Merge pull request #6432 from jdstrand/add-block-devices-interface-2.37

interfaces: add block-devices interface - 2.37

4fc8d95... by Jamie Strandboge

interfaces: add block-devices interface

Some applications need access to raw disks (eg, smartctl and hdparm) or
disks at the block level (eg, flashing tools). This interface provides
this access. Since read access gives the snap access to all data on the
device and write access allows changing the contents of the disk, this
interface is considered a "super-privileged" interface since it grants
device ownership to the snap.

Tested with 'hdparm -t /dev/sda', 'smartctl --test=short /dev/sda' and
'smartctl --all /dev/sda'.

References:
https://forum.snapcraft.io/t/request-for-classic-confinement-sas2ircu/9023
https://forum.snapcraft.io/t/classic-confinement-review-request-for-fwup/7379
https://forum.snapcraft.io/t/classic-confinement-request-for-the-wimlib-snap/7424