diff options
author | Zhai Edwin <edwin.zhai@intel.com> | 2011-12-16 15:53:22 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-12-16 16:05:37 +0000 |
commit | ccc84d94b8ff59365806b57fe90a7bacdeb16b5d (patch) | |
tree | b8a223345372d3f3a3749a394146ca687fabc0bc /meta/recipes-graphics | |
parent | 1855e94280bdbce2de84cb81cdd61f01950d05d9 (diff) | |
download | poky-ccc84d94b8ff59365806b57fe90a7bacdeb16b5d.tar.gz |
xserver-nodm-init: Fix xuser creation
Rootless X start fail as xuser has no home and shell. This patch fix it.
(From OE-Core rev: 012b6054cd5757edd6b1eb31789718bb97c26193)
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r-- | meta/recipes-graphics/x11-common/xserver-nodm-init.bb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/recipes-graphics/x11-common/xserver-nodm-init.bb b/meta/recipes-graphics/x11-common/xserver-nodm-init.bb index dbc1c42003..99ef72ef5a 100644 --- a/meta/recipes-graphics/x11-common/xserver-nodm-init.bb +++ b/meta/recipes-graphics/x11-common/xserver-nodm-init.bb | |||
@@ -2,7 +2,7 @@ DESCRIPTION = "Simple Xserver Init Script (no dm)" | |||
2 | LICENSE = "GPLv2" | 2 | LICENSE = "GPLv2" |
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" |
4 | SECTION = "x11" | 4 | SECTION = "x11" |
5 | PR = "r28" | 5 | PR = "r29" |
6 | RDEPENDS_${PN} = "sudo" | 6 | RDEPENDS_${PN} = "sudo" |
7 | 7 | ||
8 | SRC_URI = "file://xserver-nodm \ | 8 | SRC_URI = "file://xserver-nodm \ |
@@ -31,7 +31,7 @@ INITSCRIPT_PARAMS = "start 9 5 2 . stop 20 0 1 6 ." | |||
31 | # Use fixed Xusername of xuser for now, this will need to be | 31 | # Use fixed Xusername of xuser for now, this will need to be |
32 | # fixed if the Xusername changes from xuser | 32 | # fixed if the Xusername changes from xuser |
33 | USERADD_PACKAGES = "${PN}" | 33 | USERADD_PACKAGES = "${PN}" |
34 | USERADD_PARAM_${PN} = "--system --no-create-home \ | 34 | USERADD_PARAM_${PN} = "--create-home \ |
35 | --shell /bin/false --groups video,tty,audio \ | 35 | --groups video,tty,audio \ |
36 | --user-group xuser" | 36 | --user-group xuser" |
37 | 37 | ||