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

login
register
mail settings
Submitter Hongxu Jia
Date July 16, 2013, 7:33 a.m.
Message ID <f59aec04a326403e08fbc3c6935a8ec2abe4e2d3.1373954600.git.hongxu.jia@windriver.com>
Download mbox | patch
Permalink /patch/53753/
State New
Headers show

Comments

Hongxu Jia - July 16, 2013, 7:33 a.m.
Add xuser to disk group, so it could write usb storage in which the
filesystem type is vfat/fat.

[YOCTO #4004]

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"