diff options
author | Jayashree Dhanapal <jayashree-d@hcl.com> | 2022-09-02 15:17:51 +0300 |
---|---|---|
committer | Patrick Williams <patrick@stwcx.xyz> | 2022-09-30 04:17:36 +0300 |
commit | 66b090a3dd3ce755958b377f13f4861097f39ae0 (patch) | |
tree | 8e1ebbce14bb1796a567015430998cfb40b2c9c9 /meta-phosphor/recipes-phosphor/leds | |
parent | 61dcaf8e37ba00c81d424464158dbd8b0e93265d (diff) | |
download | openbmc-66b090a3dd3ce755958b377f13f4861097f39ae0.tar.xz |
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>
Diffstat (limited to 'meta-phosphor/recipes-phosphor/leds')
3 files changed, 2 insertions, 16 deletions
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 372d81293f..0000000000 --- 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 c673cda66f..0000000000 --- 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 46bfcbd11d..ee4b524244 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 += "sdbusplus" 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 @@ inherit obmc-phosphor-dbus-service 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" |