mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-09-04 12:34:08 +00:00
Allow the ubuntu-desktop-installer to request snap seeding state
This is used to only start the installer after all snaps have been seeded. Co-Authored-By: Dennis Loose <dennis.loose@canonical.com>
This commit is contained in:
parent
9fbd9ba71e
commit
69f6b3795b
@ -0,0 +1,13 @@
|
||||
// -*- mode: js; js-indent-level: 4; indent-tabs-mode: nil -*-
|
||||
//
|
||||
// THIS FILE IS ONLY AVAILABLE ON THE LIVE SYSTEM
|
||||
//
|
||||
// Allow the ubuntu-desktop-installer to request snap seeding state
|
||||
// used before starting.
|
||||
|
||||
polkit.addRule(function(action, subject) {
|
||||
if (action.id == "io.snapcraft.snapd.manage-configuration") {
|
||||
return polkit.Result.YES;
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user