diff options
| author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2013-07-03 17:14:47 +0300 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-07-10 09:41:55 +0100 |
| commit | ca48b14f08d2832df7ac18c1f5debc97f1c22bef (patch) | |
| tree | 94e8cc2aa15494f9f14e20a75239cdc3b350feaf | |
| parent | 95ce63d8bca1393725cc917e8a22922c2200735b (diff) | |
| download | poky-ca48b14f08d2832df7ac18c1f5debc97f1c22bef.tar.gz | |
xserver-nodm-init: remove xuser creation, RDEPEND on xuser-account
[YOCTO #4345]
(From OE-Core rev: 8536c410c54956027807e80f37586fb1f4d29af9)
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-graphics/x11-common/xserver-nodm-init.bb | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/meta/recipes-graphics/x11-common/xserver-nodm-init.bb b/meta/recipes-graphics/x11-common/xserver-nodm-init.bb index d2797a99d1..8490c81b48 100644 --- a/meta/recipes-graphics/x11-common/xserver-nodm-init.bb +++ b/meta/recipes-graphics/x11-common/xserver-nodm-init.bb | |||
| @@ -3,7 +3,7 @@ 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 = "r31" | 5 | PR = "r31" |
| 6 | RDEPENDS_${PN} = "sudo" | 6 | RDEPENDS_${PN} = "sudo xuser-account" |
| 7 | 7 | ||
| 8 | SRC_URI = "file://xserver-nodm \ | 8 | SRC_URI = "file://xserver-nodm \ |
| 9 | file://Xusername \ | 9 | file://Xusername \ |
| @@ -23,17 +23,8 @@ do_install() { | |||
| 23 | fi | 23 | fi |
| 24 | } | 24 | } |
| 25 | 25 | ||
| 26 | inherit update-rc.d useradd | 26 | inherit update-rc.d |
| 27 | 27 | ||
| 28 | INITSCRIPT_NAME = "xserver-nodm" | 28 | INITSCRIPT_NAME = "xserver-nodm" |
| 29 | INITSCRIPT_PARAMS = "start 9 5 2 . stop 20 0 1 6 ." | 29 | INITSCRIPT_PARAMS = "start 9 5 2 . stop 20 0 1 6 ." |
| 30 | 30 | ||
| 31 | # Use fixed Xusername of xuser for now, this will need to be | ||
| 32 | # fixed if the Xusername changes from xuser | ||
| 33 | # IMPORTANT: because xuser is shared with connman, please make sure the | ||
| 34 | # USERADD_PARAM is in sync with the one in connman.inc | ||
| 35 | USERADD_PACKAGES = "${PN}" | ||
| 36 | USERADD_PARAM_${PN} = "--create-home \ | ||
| 37 | --groups video,tty,audio,input \ | ||
| 38 | --user-group xuser" | ||
| 39 | |||
