diff options
| author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2013-07-04 13:11:24 +0300 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-07-10 09:41:54 +0100 |
| commit | 79e948b5e36a36f907e1b9e625318015075c9625 (patch) | |
| tree | f664c58840240b9d88940a1508dd49e90447b951 /meta/recipes-support | |
| parent | f638364eff3b7a2de7953d154fb2451c51729911 (diff) | |
| download | 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.bb | 27 |
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 0000000000..a7575a4ac5 --- /dev/null +++ b/meta/recipes-support/user-creation/xuser-account_0.1.bb | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | DESCRIPTION = "Creates an 'xuser' account" | ||
| 2 | LICENSE = "MIT" | ||
| 3 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
| 4 | |||
| 5 | SRC_URI = "" | ||
| 6 | |||
| 7 | inherit allarch useradd | ||
| 8 | |||
| 9 | do_configure() { | ||
| 10 | : | ||
| 11 | } | ||
| 12 | |||
| 13 | do_compile() { | ||
| 14 | : | ||
| 15 | } | ||
| 16 | |||
| 17 | do_install() { | ||
| 18 | : | ||
| 19 | } | ||
| 20 | |||
| 21 | USERADD_PACKAGES = "${PN}" | ||
| 22 | GROUPADD_PARAM_${PN} = "--system shutdown" | ||
| 23 | USERADD_PARAM_${PN} = "--create-home \ | ||
| 24 | --groups video,tty,audio,input,shutdown \ | ||
| 25 | --user-group xuser" | ||
| 26 | |||
| 27 | ALLOW_EMPTY_${PN} = "1" | ||
