From f9278a10bda3a6864e55263ea4f61b6edd7ed214 Mon Sep 17 00:00:00 2001 From: Paul Dersey Date: Tue, 21 Feb 2012 11:33:25 -0500 Subject: [PATCH] pandora-first-run-wizard: add user to cdrom group These permissions are necessary to allow CD/DVD burning/playing apps to work. --- recipes/pandora-system/pandora-first-run-wizard.bb | 2 +- .../pandora-system/pandora-first-run-wizard/first-run-wizard.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.5