summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@intel.com>2013-07-04 13:11:24 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-07-10 09:41:54 +0100
commit79e948b5e36a36f907e1b9e625318015075c9625 (patch)
treef664c58840240b9d88940a1508dd49e90447b951 /meta/recipes-support
parentf638364eff3b7a2de7953d154fb2451c51729911 (diff)
downloadast2050-yocto-poky-79e948b5e36a36f907e1b9e625318015075c9625.zip
ast2050-yocto-poky-79e948b5e36a36f907e1b9e625318015075c9625.tar.gz
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>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/user-creation/xuser-account_0.1.bb27
1 files changed, 27 insertions, 0 deletions
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 0000000..a7575a4
--- /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"
OpenPOWER on IntegriCloud