~mvo/snapd/+git/snapd-mvo:revert-quirks-removal-gh6123

Last commit made on 2019-01-29
Get this branch:
git clone -b revert-quirks-removal-gh6123 https://git.launchpad.net/~mvo/snapd/+git/snapd-mvo

Branch merges

Branch information

Name:
revert-quirks-removal-gh6123
Repository:
lp:~mvo/snapd/+git/snapd-mvo

Recent commits

6f62988... by Michael Vogt

Revert "cmd/snap-confine,snap-update-ns: discard quirks"

This reverts commit 1da9316e717d119852b827becb5a17b33713d032.

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

d32d473... by Michael Vogt

Merge pull request #6420 from jdstrand/policy-updates-xxxx-2.37

miscellaneous policy updates - 2.37

c9134ab... by Michael Vogt

Merge remote-tracking branch 'upstream/release/2.37' into HEAD

af4d12f... by Maciej Borzecki

tests/main/searching: tweak for 32bit systems

Vlc snap is not published for x86 and we use it to verify that search by arch is
correctly done. However, there is another snap 'mjpg-streamer' which needs to be
accounted for.

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

f986721... by Maciej Borzecki

tests/main/searching: video section got renamed to photo-and-video

The 'video' section is no more and it has been apparently renamed to
'photo-and-video'.

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