From: Paul Dersey Date: Tue, 21 Feb 2012 16:33:25 +0000 (-0500) Subject: pandora-first-run-wizard: add user to cdrom group X-Git-Tag: sz_beta3~15 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=openpandora.oe.git;a=commitdiff_plain;h=f9278a10bda3a6864e55263ea4f61b6edd7ed214;hp=0bd5395913c836f0391af0b356b9cf935790044e pandora-first-run-wizard: add user to cdrom group These permissions are necessary to allow CD/DVD burning/playing apps to work. --- diff --git a/recipes/pandora-system/pandora-first-run-wizard.bb b/recipes/pandora-system/pandora-first-run-wizard.bb index 904dc4a..a63dc0c 100755 --- a/recipes/pandora-system/pandora-first-run-wizard.bb +++ b/recipes/pandora-system/pandora-first-run-wizard.bb @@ -6,7 +6,7 @@ RDEPENDS = "hsetroot zenity dbus pandora-wallpaper-official tslib tslib-calibrat COMPATIBLE_MACHINE = "omap3-pandora" -PR = "r28" +PR = "r29" SRC_URI = " \ file://first-run-wizard.sh \ diff --git a/recipes/pandora-system/pandora-first-run-wizard/first-run-wizard.sh b/recipes/pandora-system/pandora-first-run-wizard/first-run-wizard.sh index a801e3f..f30b80e 100755 --- a/recipes/pandora-system/pandora-first-run-wizard/first-run-wizard.sh +++ b/recipes/pandora-system/pandora-first-run-wizard/first-run-wizard.sh @@ -88,7 +88,7 @@ while ! username=$(zenity --title="Enter your username" --entry --text "Please c zenity --title="Error" --error --text="Please try again." --timeout 6 done -while ! useradd -c "$name,,," -G adm,audio,video,netdev,wheel,plugdev,users "$username" ; do +while ! useradd -c "$name,,," -G adm,audio,cdrom,netdev,plugdev,users,video,wheel "$username" ; do username=$(zenity --title="Please check username" --entry --text "Please ensure that your username consists of only\nletters and numbers and is not already in use on the system." --entry-text "$username") done