phosphor-led-sysfs: Removed udev rules and systemd service.
Moved udev rules and systemd service from meta-phosphor to
phosphor-led-sysfs repository to handle the LED events.
phosphor-led-sysfs: srcrev bump 02f366d68b..3930b6bff5
Jayashree Dhanapal (1):
Moved udev rules and systemd service to repository.
Tested: Tested and verfied in Facebook YosemiteV2 platform.
Signed-off-by: Jayashree Dhanapal <jayashree-d@hcl.com>
Change-Id: I12bdba8835dcf2dcf22a238d69387b037ea1e050
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
diff --git a/meta-phosphor/recipes-phosphor/leds/phosphor-led-sysfs/70-leds.rules b/meta-phosphor/recipes-phosphor/leds/phosphor-led-sysfs/70-leds.rules
deleted file mode 100644
index 372d812..0000000
--- a/meta-phosphor/recipes-phosphor/leds/phosphor-led-sysfs/70-leds.rules
+++ /dev/null
@@ -1 +0,0 @@
-SUBSYSTEM=="leds", ACTION=="add", TAG+="systemd", ENV{SYSTEMD_WANTS}+="xyz.openbmc_project.led.controller@sys-class-leds-$name"
diff --git a/meta-phosphor/recipes-phosphor/leds/phosphor-led-sysfs/xyz.openbmc_project.led.controller@.service b/meta-phosphor/recipes-phosphor/leds/phosphor-led-sysfs/xyz.openbmc_project.led.controller@.service
deleted file mode 100644
index c673cda..0000000
--- a/meta-phosphor/recipes-phosphor/leds/phosphor-led-sysfs/xyz.openbmc_project.led.controller@.service
+++ /dev/null
@@ -1,7 +0,0 @@
-[Unit]
-Description=Phosphor sysfs LED controller
-
-[Service]
-Restart=always
-ExecStart=/usr/bin/env phosphor-ledcontroller -p %f
-SyslogIdentifier=phosphor-ledcontroller
diff --git a/meta-phosphor/recipes-phosphor/leds/phosphor-led-sysfs_git.bb b/meta-phosphor/recipes-phosphor/leds/phosphor-led-sysfs_git.bb
index 46bfcbd..ee4b524 100644
--- a/meta-phosphor/recipes-phosphor/leds/phosphor-led-sysfs_git.bb
+++ b/meta-phosphor/recipes-phosphor/leds/phosphor-led-sysfs_git.bb
@@ -7,12 +7,11 @@
DEPENDS += "systemd"
DEPENDS += "phosphor-dbus-interfaces"
DEPENDS += "boost"
-SRCREV = "02f366d68bb9752e6de04db0efc8eb885b19b219"
+SRCREV = "3930b6bff5dc1d94c2860db427c86b8e7b28e5c1"
PV = "1.0+git${SRCPV}"
PR = "r1"
SRC_URI += "git://github.com/openbmc/phosphor-led-sysfs;branch=master;protocol=https"
-SRC_URI += "file://70-leds.rules"
S = "${WORKDIR}/git"
@@ -21,9 +20,4 @@
EXTRA_OEMESON:append = " -Dtests=disabled"
-do_install:append() {
- install -d ${D}/${nonarch_base_libdir}/udev/rules.d/
- install -m 0644 ${WORKDIR}/70-leds.rules ${D}/${nonarch_base_libdir}/udev/rules.d/
-}
-
-DBUS_SERVICE:${PN} += "xyz.openbmc_project.led.controller@.service"
+SYSTEMD_SERVICE:${PN} += "xyz.openbmc_project.led.controller@.service"