OpenPandora Main OS

  • Status Closed
  • Percent Complete
    100%
  • Task Type Feature Request
  • Category Core
  • Operating System Release 1 (Zaxxon)
  • Severity Low
  • Reported Version Hotfix 6
Attached to Project: OpenPandora Main OS
Opened by pder - 19.02.2012
Last edited by notaz - 24.04.2012

FS#275 - User should be a member of the cdrom group

These permissions are needed for CD/DVD burning/player apps.

From bdc88595d8af726b3bf4745ece310f92299d8759 Mon Sep 17 00:00:00 2001
From: Paul Dersey <pdersey@gmail.com>
Date: Sun, 19 Feb 2012 17:22:41 -0500
Subject: [PATCH] pandora-first-run-wizard: add user to cdrom group

---
recipes/pandora-system/pandora-first-run-wizard.bb | 2 +-
.../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

--
1.7.8.3

Closed by  notaz
24.04.2012 21:02
Reason for closing:  Implemented
Additional comments about closing:  applied a while ago through other means
notaz commented on 20.02.2012 11:41

Bugtracker corrupted the patch, can you add it as an attachment, if that fails send it to mailing list?

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing