# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Id: $
+ 09 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org> catalyst,
+ targets/support/livecdfs-update.sh:
+ We check for a plugdev group, add it if it doesn't exist, and make sure any
+ users specified by livecd/users is in the group.
+
09 Feb 2008; Chris Gianelloni <wolf31o2@gentoo.org> arch/mips.py:
Changing cobalt_n32 to use mipsel4_n32 as its inheritance point. Thanks to
Stuart Longland <redhatter@gentoo.org> for pointing this change out.
def version():
print "Catalyst, version "+__version__
- print "Copyright 2003-2007 Gentoo Foundation"
+ print "Copyright 2003-2008 Gentoo Foundation"
print "Distributed under the GNU General Public License version 2\n"
def parse_config(myconfig):
echo "Adding games group"
groupadd -g 35 games
fi
+ if [ "$(getent group plugdev | cut -d: -f1)" != "plugdev" ]
+ then
+ echo "Adding plugdev group"
+ groupadd plugdev
+ fi
for x in ${clst_livecd_users}
do
- useradd -G users,wheel,audio,games,cdrom,usb -c "Default LiveCD User" \
- -m ${x}
+ useradd -G users,wheel,audio,plugdev,games,cdrom,disk,floppy,usb \
+ -c "Default LiveCD User" -m ${x}
chown -R ${x}:users /home/${x}
if [ -n "${clst_livecd_xdm}" -a -n "${clst_livecd_xsession}" ]
then