blob: 0bb9be8215b8ef32239dc1821dbb0f0e75b1251a [file] [log] [blame]
AlanKuo20f79432020-11-02 09:35:28 +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 -p '\$1\$UGMqyqdG\$FZiylVFmRRfl9Z0Ue8G7e/' \
20 -G 'web,redfish,priv-admin' Megapede; "
21GROUPMEMS_PARAM_${PN} = "-g priv-admin -a root; "
22GROUPMEMS_PARAM_${PN} += "-g ipmi -a root; "
23
24ALLOW_EMPTY_${PN} = "1"