diff options
author | Patrick Venture <venture@google.com> | 2018-09-22 00:57:58 +0300 |
---|---|---|
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | 2018-09-24 14:43:49 +0300 |
commit | edb619229fb988cd72a919e4068d820c632a7f5e (patch) | |
tree | 4bcc94ab5053961e8473789244a9d5f30650cf5e /meta-google/recipes-google/ipmi/google-ipmi-sys_git.bb | |
parent | 282ba3dea1b56d620202e7ffe24cfdb671ceed6d (diff) | |
download | openbmc-edb619229fb988cd72a919e4068d820c632a7f5e.tar.xz |
recipes-google: google-ipmi-sys: recipe cleanup
Drop unused dependencies and add proper LICENSE line.
Renamed the recipe to follow git revisioned recipe style guidelines.
(From meta-google rev: f52dcabd9bd75ad73e8aee3681f05f3e68377a46)
Change-Id: Ifc59c52ea4969e8d468962b4473ca063465d728b
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
Diffstat (limited to 'meta-google/recipes-google/ipmi/google-ipmi-sys_git.bb')
-rw-r--r-- | meta-google/recipes-google/ipmi/google-ipmi-sys_git.bb | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-google/recipes-google/ipmi/google-ipmi-sys_git.bb b/meta-google/recipes-google/ipmi/google-ipmi-sys_git.bb new file mode 100644 index 000000000..d4f4ee54d --- /dev/null +++ b/meta-google/recipes-google/ipmi/google-ipmi-sys_git.bb @@ -0,0 +1,34 @@ +HOMEPAGE = "http://github.com/openbmc/google-ipmi-sys" +SUMMARY = "Google Sys OEM commands" +DESCRIPTION = "Google Sys OEM commands" + +inherit autotools pkgconfig +inherit systemd +inherit obmc-phosphor-ipmiprovider-symlink + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" + +DEPENDS += "autoconf-archive-native" +DEPENDS += "sdbusplus" +DEPENDS += "phosphor-logging" +DEPENDS += "phosphor-ipmi-host" + +S = "${WORKDIR}/git" +SRC_URI = "git://github.com/openbmc/google-ipmi-sys" +SRCREV = "ef45005c2c441a89a9bd84b9b0f22ac8a2fd9b65" + +FILES_${PN}_append = " ${libdir}/ipmid-providers/lib*${SOLIBS}" +FILES_${PN}_append = " ${libdir}/host-ipmid/lib*${SOLIBS}" +FILES_${PN}_append = " ${libdir}/net-ipmid/lib*${SOLIBS}" +FILES_${PN}-dev_append = " ${libdir}/ipmid-providers/lib*${SOLIBSDEV} ${libdir}/ipmid-providers/*.la" + +HOSTIPMI_PROVIDER_LIBRARY += "libsyscmds.so" + +SYSTEMD_PACKAGES = "${PN}" +SYSTEMD_SERVICE_${PN} = "gbmc-psu-hardreset.target" + +do_install_append() { + install -d ${D}${systemd_system_unitdir} + install -m 0644 ${S}/gbmc-psu-hardreset.target ${D}${systemd_system_unitdir} +} |