mirror of
				https://git.launchpad.net/livecd-rootfs
				synced 2025-11-04 10:54:07 +00:00 
			
		
		
		
	Imported using git-ubuntu import.
Changelog parent: b62151eae74ed58174e544cfe6fa81b2924fc982
New changelog entries:
  * ubuntu-touch; DON'T DO THAT AT HOME ! (and keep the kids away) ...
    hack to remove a bunch of initscripts that currently break writable mode.
    this needs to be dropped again ASAP (once a proper fix landed) !!
		
	
			
		
			
				
	
	
		
			17 lines
		
	
	
		
			465 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			465 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/sh
 | 
						|
 | 
						|
# make sure the phablet user is in the autopilot group
 | 
						|
# (the user is not available when the package postinst
 | 
						|
# adds all users of the sudo group to the autopilot one
 | 
						|
# so we re-run the package configuration now
 | 
						|
 | 
						|
echo "making sure phablet user is in the autopilot group"
 | 
						|
 | 
						|
for pkg in python-autopilot python3-autopilot; do
 | 
						|
	if dpkg-query -W -f '${Status}\n' "$pkg" 2>/dev/null | \
 | 
						|
	   grep -q ' installed$'; then
 | 
						|
		dpkg-reconfigure "$pkg"
 | 
						|
		break
 | 
						|
	fi
 | 
						|
done
 |