group-wheel: Add a recipe to ensure group wheel on our images

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
This commit is contained in:
Andreas Müller
2021-07-27 22:00:47 +02:00
parent 1c815a27f4
commit b3e5fdfed2

View File

@@ -0,0 +1,11 @@
SUMMARY = "Create usergroup wheel for sudo"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
inherit useradd
USERADD_PACKAGES = "${PN}"
#USERADD_PARAM = ""
GROUPADD_PARAM_${PN} = "--system wheel"
ALLOW_EMPTY_${PN} = "1"