blob: fb2bcad78e8394ecfdb233eb04d748ae10c036d6 [file] [log] [blame]
Artem Senichev8574e7e2020-05-08 12:33:35 +03001SUMMARY = "Command-line interface"
2DESCRIPTION = "YADRO OpenBMC Command Line Interface for end users"
3HOMEPAGE = "https://github.com/YADRO-KNS/obmc-yadro-cli"
4PR = "r1"
5PV = "1.0+git${SRCPV}"
6
7# License info
8LICENSE = "Apache-2.0"
9LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
10
11# Dependencies
12DEPENDS = "phosphor-user-manager"
13RDEPENDS_${PN} = "sudo bash"
14
Alexander Filippovad7324a2020-09-30 12:59:16 +030015# Directory with command handlers
16FILES_${PN} += "${datadir}/cli"
Artem Senichev8574e7e2020-05-08 12:33:35 +030017
18# Custom installation procedure
19do_install() {
20 ${B}/install.sh \
21 --dir ${D} \
Alexander Filippovad7324a2020-09-30 12:59:16 +030022 --machine ${@'${MACHINE}'.split('-')[0]} \
Artem Senichev8574e7e2020-05-08 12:33:35 +030023 --admin priv-admin \
24 --operator priv-operator \
25 --user priv-user
26}
27
28# Source code repository
29S = "${WORKDIR}/git"
30SRC_URI = "git://github.com/YADRO-KNS/obmc-yadro-cli"
Alexander Filippovad7324a2020-09-30 12:59:16 +030031SRCREV = "1b0347f2c638df21333c5479b4d3152cfc4b5ac1"