Adding android_nvram group to the touch image

ubuntu/yakkety
Ricardo Salveti de Araujo 11 years ago
parent d32603eb79
commit e50449a994

6
debian/changelog vendored

@ -1,3 +1,9 @@
livecd-rootfs (2.221) UNRELEASED; urgency=medium
* Adding android_nvram group to the touch image
-- Ricardo Salveti de Araujo <ricardo.salveti@canonical.com> Mon, 30 Jun 2014 00:12:43 +0400
livecd-rootfs (2.220) utopic; urgency=medium livecd-rootfs (2.220) utopic; urgency=medium
[ Alfonso Sanchez-Beato (email Canonical) ] [ Alfonso Sanchez-Beato (email Canonical) ]

@ -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,android_media" 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,android_nvram"
/bin/egrep -i "^audio:" /etc/group /bin/egrep -i "^audio:" /etc/group
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
@ -79,10 +79,17 @@ else
fi fi
/bin/egrep -i "^android_media:" /etc/group /bin/egrep -i "^android_media:" /etc/group
if [ $? -eq 0 ]; then if [ $? -eq 0 ]; then
echo "User android_media exists in /etc/group" echo "User android_media exists in /etc/group"
else else
echo "User android_media does not exist in /etc group -- must create" echo "User android_media does not exist in /etc group -- must create"
groupadd -g 1013 android_media groupadd -g 1013 android_media
fi
/bin/egrep -i "^android_nvram:" /etc/group
if [ $? -eq 0 ]; then
echo "User android_nvram exists in /etc/group"
else
echo "User android_nvram does not exist in /etc group -- must create"
groupadd -g 9997 android_nvram
fi fi
echo "I: add $USER to ($DEFGROUPS) groups" echo "I: add $USER to ($DEFGROUPS) groups"

Loading…
Cancel
Save