blob: 76485ccd0b9901a717a31d4714e1be0b70dd5489 [file] [log] [blame]
Alan Kuoc239b6f2020-12-23 09:51:14 +08001SUMMARY = "Add default Users"
2DESCRIPTION = "Add Users"
3LICENSE = "Apache-2.0"
4LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"
5
6EXCLUDE_FROM_WORLD = "1"
7
8DEPENDS = "bmcweb"
9DEPENDS += "phosphor-ipmi-host"
10DEPENDS += "phosphor-user-manager"
11RDEPENDS_${PN} = "bmcweb"
12RDEPENDS_${PN} += "phosphor-ipmi-host"
13RDEPENDS_${PN} += "phosphor-user-manager"
14
15inherit useradd
16USERADD_PACKAGES = "${PN}"
17
18USERADD_PARAM_${PN} = "-m -N -u 1000 -g 100 -s /bin/nologin \
19 -G 'web,redfish,priv-admin' Megapede; "
20GROUPMEMS_PARAM_${PN} = "-g priv-admin -a root; "
21GROUPMEMS_PARAM_${PN} += "-g ipmi -a root; "
22
23ALLOW_EMPTY_${PN} = "1"