xuser-account: create separate recipe for xuser creation

(From OE-Core rev: 3c4420e55e8ba3859fd5396636bdbce149416249)

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>
This commit is contained in:
Laurentiu Palcu 2013-07-04 13:11:24 +03:00 committed by Richard Purdie
parent f638364eff
commit 79e948b5e3
1 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,27 @@
DESCRIPTION = "Creates an 'xuser' account"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
SRC_URI = ""
inherit allarch useradd
do_configure() {
:
}
do_compile() {
:
}
do_install() {
:
}
USERADD_PACKAGES = "${PN}"
GROUPADD_PARAM_${PN} = "--system shutdown"
USERADD_PARAM_${PN} = "--create-home \
--groups video,tty,audio,input,shutdown \
--user-group xuser"
ALLOW_EMPTY_${PN} = "1"