blob: 1dbf215771e034fc4986d319684afb64b077a785 [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"
Willy Tu4dd03ca2021-08-06 09:37:35 -070011RDEPENDS:${PN} = "bmcweb"
12RDEPENDS:${PN} += "phosphor-ipmi-host"
13RDEPENDS:${PN} += "phosphor-user-manager"
Alan Kuoc239b6f2020-12-23 09:51:14 +080014
15inherit useradd
16USERADD_PACKAGES = "${PN}"
17
Willy Tu4dd03ca2021-08-06 09:37:35 -070018USERADD_PARAM:${PN} = "-m -N -u 1000 -g 100 -s /bin/nologin \
Alan Kuoc239b6f2020-12-23 09:51:14 +080019 -G 'web,redfish,priv-admin' Megapede; "
Willy Tu4dd03ca2021-08-06 09:37:35 -070020GROUPMEMS_PARAM:${PN} = "-g priv-admin -a root; "
21GROUPMEMS_PARAM:${PN} += "-g ipmi -a root; "
Alan Kuoc239b6f2020-12-23 09:51:14 +080022
Willy Tu4dd03ca2021-08-06 09:37:35 -070023ALLOW_EMPTY:${PN} = "1"