blob: 7dcdc66455c01f4cc8541515f3ea38692a09455f [file] [log] [blame]
Vishwanatha Subbanna04898332017-01-09 16:02:27 +05301SUMMARY = "Phosphor Physical LED Controller daemon"
2DESCRIPTION = "Daemon to trigger actions on a physical LED"
3HOMEPAGE = "http://github.com/openbmc/phosphor-led-sysfs"
4PR = "r1"
Patrick Venture1f52b4e2018-10-02 20:54:25 -07005PV = "1.0+git${SRCPV}"
Vishwanatha Subbanna04898332017-01-09 16:02:27 +05306LICENSE = "Apache-2.0"
7LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e"
Patrick Venture1f52b4e2018-10-02 20:54:25 -07008
Vishwanatha Subbanna04898332017-01-09 16:02:27 +05309inherit autotools pkgconfig
Brad Bishop66038f42017-01-26 12:36:52 -050010inherit obmc-phosphor-dbus-service
Vishwanatha Subbanna04898332017-01-09 16:02:27 +053011
12DEPENDS += "autoconf-archive-native"
13DEPENDS += "sdbusplus"
Brad Bishop26873c92019-03-22 23:41:42 -040014DEPENDS += "systemd"
Xo Wange867f292017-03-14 16:40:31 -070015DEPENDS += "phosphor-dbus-interfaces"
Vishwanatha Subbanna04898332017-01-09 16:02:27 +053016
Brad Bishop66038f42017-01-26 12:36:52 -050017DBUS_SERVICE_${PN} += "xyz.openbmc_project.led.controller@.service"
18
Vishwanatha Subbanna04898332017-01-09 16:02:27 +053019SRC_URI += "git://github.com/openbmc/phosphor-led-sysfs"
Brad Bishop66038f42017-01-26 12:36:52 -050020SRC_URI += "file://70-leds.rules"
Andrew Geissler4cc258f2019-04-09 02:42:17 +000021SRCREV = "5b1417bd21d1e9c00b25bb6db700aec442af746d"
Vishwanatha Subbanna04898332017-01-09 16:02:27 +053022S = "${WORKDIR}/git"
Brad Bishop66038f42017-01-26 12:36:52 -050023
24do_install_append() {
25 install -d ${D}/${base_libdir}/udev/rules.d/
26 install ${WORKDIR}/70-leds.rules ${D}/${base_libdir}/udev/rules.d/
27}