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