Import patches-unapplied version 2.177 to ubuntu/saucy-proposed

Imported using git-ubuntu import.

Changelog parent: a9c034ceefda69b3ed9481cf238ceb7760818906

New changelog entries:
  * 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:51:13 +02:00 committed by usd-importer
parent a9c034ceef
commit d970213ac4
2 changed files with 8 additions and 8 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
livecd-rootfs (2.177) saucy; 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