mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-04-26 18:41:14 +00:00
Import patches-unapplied version 2.220 to ubuntu/utopic-proposed
Imported using git-ubuntu import. Changelog parent: 90fb42834223e2f255b9d2f690a3d2ad17a0d02e New changelog entries: [ Alfonso Sanchez-Beato (email Canonical) ] * Add media group to touch image
This commit is contained in:
parent
90fb428342
commit
174d0f4b50
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,3 +1,10 @@
|
|||||||
|
livecd-rootfs (2.220) utopic; urgency=medium
|
||||||
|
|
||||||
|
[ Alfonso Sanchez-Beato (email Canonical) ]
|
||||||
|
* Add media group to touch image
|
||||||
|
|
||||||
|
-- Oliver Grawert <ogra@ubuntu.com> Fri, 27 Jun 2014 16:31:02 +0200
|
||||||
|
|
||||||
livecd-rootfs (2.219) utopic; urgency=medium
|
livecd-rootfs (2.219) utopic; urgency=medium
|
||||||
|
|
||||||
* Drop fdupes analysis: not widely used any more, can be done separately
|
* Drop fdupes analysis: not widely used any more, can be done separately
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
USER=phablet
|
USER=phablet
|
||||||
|
|
||||||
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"
|
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,android_media"
|
||||||
|
|
||||||
/bin/egrep -i "^audio:" /etc/group
|
/bin/egrep -i "^audio:" /etc/group
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
@ -77,6 +77,13 @@ else
|
|||||||
echo "User sdcard_rw does not exist in /etc group -- must create"
|
echo "User sdcard_rw does not exist in /etc group -- must create"
|
||||||
groupadd -g 1015 sdcard_rw
|
groupadd -g 1015 sdcard_rw
|
||||||
fi
|
fi
|
||||||
|
/bin/egrep -i "^android_media:" /etc/group
|
||||||
|
if [ $? -eq 0 ]; then
|
||||||
|
echo "User android_media exists in /etc/group"
|
||||||
|
else
|
||||||
|
echo "User android_media does not exist in /etc group -- must create"
|
||||||
|
groupadd -g 1013 android_media
|
||||||
|
fi
|
||||||
|
|
||||||
echo "I: add $USER to ($DEFGROUPS) groups"
|
echo "I: add $USER to ($DEFGROUPS) groups"
|
||||||
usermod -a -G ${DEFGROUPS} ${USER}
|
usermod -a -G ${DEFGROUPS} ${USER}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user