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:
11
recipes-defaultconfig/users/group-wheel.bb
Normal file
11
recipes-defaultconfig/users/group-wheel.bb
Normal 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"
|
||||
Reference in New Issue
Block a user