meta-nicole: Add console tool for print inventory
This tool can be used by an end user to print OpenBMC inventory list.
(From meta-yadro rev: d8533edaabad01bfc353a7fe1ca44077ac79512d)
Signed-off-by: Artem Senichev <a.senichev@yadro.com>
Change-Id: I801ed25fe94cbdf87d509b5f1eb6ff25d4fc2c7e
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/meta-yadro/meta-nicole/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend b/meta-yadro/meta-nicole/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend
index 26e64be..5d77803 100644
--- a/meta-yadro/meta-nicole/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend
+++ b/meta-yadro/meta-nicole/recipes-phosphor/packagegroups/packagegroup-obmc-apps.bbappend
@@ -1,8 +1,9 @@
RDEPENDS_${PN}-inventory_append = " openpower-occ-control"
RDEPENDS_${PN}-extras_append = " \
- phosphor-hostlogger \
- openpower-esel-parser \
+ obmc-yadro-lsinventory \
obmc-yadro-lssensors \
+ openpower-esel-parser \
+ phosphor-hostlogger \
"
RDEPENDS_${PN}-software_append = " \
obmc-yadro-fwupdate \
diff --git a/meta-yadro/recipes-phosphor/cli/obmc-yadro-lsinventory_git.bb b/meta-yadro/recipes-phosphor/cli/obmc-yadro-lsinventory_git.bb
new file mode 100644
index 0000000..89ceb1e
--- /dev/null
+++ b/meta-yadro/recipes-phosphor/cli/obmc-yadro-lsinventory_git.bb
@@ -0,0 +1,22 @@
+SUMMARY = "Command line tool for printing inventory"
+DESCRIPTION = "YADRO OpenBMC command line tool for printing inventory list"
+HOMEPAGE = "https://github.com/YADRO-KNS/obmc-yadro-lsinventory"
+PR = "r1"
+PV = "1.0+git${SRCPV}"
+
+inherit meson
+
+# License info
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
+
+# Dependencies
+DEPENDS += " \
+ json-c \
+ sdbusplus \
+ "
+
+# Source code repository
+S = "${WORKDIR}/git"
+SRC_URI = "git://github.com/YADRO-KNS/obmc-yadro-lsinventory.git"
+SRCREV = "d0bdf0ddd192b9d41c5c5d4af9385122b08c7608"