mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-02-22 10:51:11 +00:00
sync ubuntu-touch customzation scripts with phablet build tree
This commit is contained in:
parent
7519449f20
commit
be72ae0321
6
debian/changelog
vendored
6
debian/changelog
vendored
@ -1,3 +1,9 @@
|
||||
livecd-rootfs (2.147) UNRELEASED; urgency=low
|
||||
|
||||
* sync ubuntu-touch customzation scripts with phablet build tree
|
||||
|
||||
-- Oliver Grawert <ogra@ubuntu.com> Mon, 03 Jun 2013 09:56:15 +0200
|
||||
|
||||
livecd-rootfs (2.146) saucy; urgency=low
|
||||
|
||||
* drop the generic .bootimg from ubuntu-touch, all boot images we need have
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
USER=phablet
|
||||
|
||||
DEFGROUPS="tty,admin,adm,dialout,cdrom,plugdev,audio,dip,video,android_net,android_net2,android_net3,android_graphics,android_input,sdcard_rw"
|
||||
DEFGROUPS="tty,admin,adm,dialout,cdrom,plugdev,audio,dip,video,gps,radio,bluetooth,android_net,android_net2,android_net3,android_graphics,android_input,sdcard_rw"
|
||||
|
||||
/bin/egrep -i "^admin" /etc/group
|
||||
if [ $? -eq 0 ]; then
|
||||
@ -41,10 +41,12 @@ else
|
||||
fi
|
||||
/bin/egrep -i "^audio" /etc/group
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "User audio exists in /etc/group"
|
||||
# Needed to change group id as audio is already created by ubuntu
|
||||
echo "User audio exists in /etc/group, changing gid to be android compatible"
|
||||
groupmod -g 1005 audio
|
||||
else
|
||||
echo "User audio does not exists in /etc/group must create"
|
||||
groupadd audio
|
||||
groupadd -g 1005 audio
|
||||
fi
|
||||
/bin/egrep -i "^dip" /etc/group
|
||||
if [ $? -eq 0 ]; then
|
||||
@ -67,6 +69,27 @@ else
|
||||
echo "User adm does not exists in /etc/group must create"
|
||||
groupadd adm
|
||||
fi
|
||||
/bin/egrep -i "^gps" /etc/group
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "User gps exists in /etc/group"
|
||||
else
|
||||
echo "User gps does not exist in /etc/group -- must create"
|
||||
groupadd -g 1021 gps
|
||||
fi
|
||||
/bin/egrep -i "^radio" /etc/group
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "User radio exists in /etc/group"
|
||||
else
|
||||
echo "User radio does not exist in /etc/group -- must create"
|
||||
groupadd -g 1001 radio
|
||||
fi
|
||||
/bin/egrep -i "^bluetooth" /etc/group
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "User bluetooth exists in /etc/group"
|
||||
else
|
||||
echo "User bluetooth does not exist in /etc/group -- must create"
|
||||
groupadd -g 1002 bluetooth
|
||||
fi
|
||||
/bin/egrep -i "^android_net" /etc/group
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "User android_net exists in /etc/group"
|
||||
|
Loading…
x
Reference in New Issue
Block a user