diff options
| -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" | ||
