Artem Senichev | 8574e7e | 2020-05-08 12:33:35 +0300 | [diff] [blame] | 1 | SUMMARY = "Command-line interface" |
| 2 | DESCRIPTION = "YADRO OpenBMC Command Line Interface for end users" |
| 3 | HOMEPAGE = "https://github.com/YADRO-KNS/obmc-yadro-cli" |
| 4 | PR = "r1" |
| 5 | PV = "1.0+git${SRCPV}" |
| 6 | |
| 7 | # License info |
| 8 | LICENSE = "Apache-2.0" |
| 9 | LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" |
| 10 | |
| 11 | # Dependencies |
| 12 | DEPENDS = "phosphor-user-manager" |
Alexander Filippov | 69f2c78 | 2020-10-27 16:01:14 +0300 | [diff] [blame] | 13 | RDEPENDS_${PN} = " \ |
| 14 | ${VIRTUAL-RUNTIME_base-utils} \ |
| 15 | bash \ |
| 16 | obmc-console \ |
| 17 | obmc-yadro-fwupdate \ |
| 18 | obmc-yadro-lssensors \ |
| 19 | obmc-yadro-netconfig \ |
| 20 | sudo \ |
| 21 | systemd \ |
| 22 | " |
| 23 | # Some platforms also require some additional packages like |
| 24 | # ipmitool, obmc-yadro-lsinventory, obmc-yadro-backup ... |
| 25 | # They should be appended by bbappend file in their layers |
Artem Senichev | 8574e7e | 2020-05-08 12:33:35 +0300 | [diff] [blame] | 26 | |
Alexander Filippov | ad7324a | 2020-09-30 12:59:16 +0300 | [diff] [blame] | 27 | # Directory with command handlers |
| 28 | FILES_${PN} += "${datadir}/cli" |
Artem Senichev | 8574e7e | 2020-05-08 12:33:35 +0300 | [diff] [blame] | 29 | |
| 30 | # Custom installation procedure |
| 31 | do_install() { |
| 32 | ${B}/install.sh \ |
| 33 | --dir ${D} \ |
Alexander Filippov | ad7324a | 2020-09-30 12:59:16 +0300 | [diff] [blame] | 34 | --machine ${@'${MACHINE}'.split('-')[0]} \ |
Artem Senichev | 8574e7e | 2020-05-08 12:33:35 +0300 | [diff] [blame] | 35 | --admin priv-admin \ |
| 36 | --operator priv-operator \ |
| 37 | --user priv-user |
| 38 | } |
| 39 | |
| 40 | # Source code repository |
| 41 | S = "${WORKDIR}/git" |
| 42 | SRC_URI = "git://github.com/YADRO-KNS/obmc-yadro-cli" |
Artem Senichev | 6524906 | 2020-12-01 17:24:42 +0300 | [diff] [blame^] | 43 | SRCREV = "29768c2fb743318d459a40281e328ee8e8944a75" |