mirror of
				https://git.launchpad.net/livecd-rootfs
				synced 2025-11-04 02:44:07 +00:00 
			
		
		
		
	This is used to only start the installer after all snaps have been seeded. Co-Authored-By: Dennis Loose <dennis.loose@canonical.com>
		
			
				
	
	
		
			14 lines
		
	
	
		
			371 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			371 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
// -*- 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;
 | 
						|
    }
 | 
						|
});
 | 
						|
 |