From: Laurentiu Palcu Date: Thu, 4 Jul 2013 10:11:24 +0000 (+0300) Subject: xuser-account: create separate recipe for xuser creation X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~36748 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c4420e55e8ba3859fd5396636bdbce149416249;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git xuser-account: create separate recipe for xuser creation Signed-off-by: Laurentiu Palcu Signed-off-by: Saul Wold --- diff --git a/meta/recipes-support/user-creation/xuser-account_0.1.bb b/meta/recipes-support/user-creation/xuser-account_0.1.bb new file mode 100644 index 00000000000..a7575a4ac55 --- /dev/null +++ b/meta/recipes-support/user-creation/xuser-account_0.1.bb @@ -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"