Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add mir to implicit for running gui snaps on unity8 classic desktop #1700

Closed
wants to merge 7 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions interfaces/builtin/mir.go
Expand Up @@ -37,6 +37,8 @@ network netlink raw,
/run/mir_socket rw,
#NOTE: this allows reading and inserting all input events
/dev/input/* rw,
/run/udev/data/c13:[0-9]* r,
/run/udev/data/+input:input[0-9]* r,
`)

var mirPermanentSlotSecComp = []byte(`
Expand Down
1 change: 1 addition & 0 deletions snap/implicit.go
Expand Up @@ -59,6 +59,7 @@ var implicitClassicSlots = []string{
"camera",
"cups-control",
"gsettings",
"mir",
"libvirt",
"modem-manager",
"network-manager",
Expand Down
2 changes: 1 addition & 1 deletion snap/implicit_test.go
Expand Up @@ -56,7 +56,7 @@ func (s *InfoSnapYamlTestSuite) TestAddImplicitSlotsOnClassic(c *C) {
c.Assert(info.Slots["unity7"].Interface, Equals, "unity7")
c.Assert(info.Slots["unity7"].Name, Equals, "unity7")
c.Assert(info.Slots["unity7"].Snap, Equals, info)
c.Assert(info.Slots, HasLen, 37)
c.Assert(info.Slots, HasLen, 38)
}

func (s *InfoSnapYamlTestSuite) TestImplicitSlotsAreRealInterfaces(c *C) {
Expand Down