Patchwork [6/6] xuser-account: add xuser to disk group

login
register
mail settings
Submitter Hongxu Jia
Date July 12, 2013, 9:29 a.m.
Message ID <a7e44a319d8755e768a7bd0e75a989dee19539e5.1373599041.git.hongxu.jia@windriver.com>
Download mbox | patch
Permalink /patch/53561/
State Accepted
Commit e23d5a0e34c8a55f30619b0777ad8e004b37d9e7
Headers show

Comments

Hongxu Jia - July 12, 2013, 9:29 a.m.
In order for xuser to be able to perform pmount/pumount.

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
 meta/recipes-support/user-creation/xuser-account_0.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-support/user-creation/xuser-account_0.1.bb b/meta/recipes-support/user-creation/xuser-account_0.1.bb
index a7575a4..58e8139 100644
--- a/meta/recipes-support/user-creation/xuser-account_0.1.bb
+++ b/meta/recipes-support/user-creation/xuser-account_0.1.bb
@@ -21,7 +21,7 @@  do_install() {
 USERADD_PACKAGES = "${PN}"
 GROUPADD_PARAM_${PN} = "--system shutdown"
 USERADD_PARAM_${PN} = "--create-home \
-                       --groups video,tty,audio,input,shutdown \
+                       --groups video,tty,audio,input,shutdown,disk \
                        --user-group xuser"
 
 ALLOW_EMPTY_${PN} = "1"