do not forcefully use the admin group on touch images. this group was dropped in favour of the sudo group several releases ago

This commit is contained in:
Oliver Grawert 2013-08-26 16:53:29 +02:00
parent 014067af6e
commit 39986bad6c
2 changed files with 8 additions and 8 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
livecd-rootfs (2.177) UNRELEASED; urgency=low
* do not forcefully use the admin group on touch images. this group was
dropped in favour of the sudo group several releases ago
-- Oliver Grawert <ogra@ubuntu.com> Mon, 26 Aug 2013 16:51:13 +0200
livecd-rootfs (2.176) saucy; urgency=low
* preserve a symlink of media-info for backwards compatibility

View File

@ -2,15 +2,8 @@
USER=phablet
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"
DEFGROUPS="tty,sudo,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
echo "User admin exists in /etc/group"
else
echo "User admin does not exists in /etc/group must create"
groupadd admin
fi
/bin/egrep -i "^audio:" /etc/group
if [ $? -eq 0 ]; then
# Needed to change group id as audio is already created by ubuntu