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

ubuntu/trusty
Oliver Grawert 11 years ago
parent 014067af6e
commit 39986bad6c

7
debian/changelog vendored

@ -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

@ -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

Loading…
Cancel
Save