ledmon: control hard disk led for RAID arrays
PATCH 1/1 ledmon: control hard disk led for RAID arrays
Enable LED support for Intel Virtual RAID On CPU.
Signed-off-by Liwei Song <[email protected]>
--- meta-oe/recipes-bsp/ledmon/ledmon_git.bb | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 meta-oe/recipes-bsp/ledmon/ledmon_git.bb
meta-oe/recipes-bsp/ledmon/ledmon_git.bb new file +32 -0
@@ -0,0 +1,32 @@ +SUMMARY = "Intel(R) Enclosure LED Utilities" + +DESCRIPTION = "The utilities are designed primarily to be used on storage servers \ + utilizing MD devices (aka Linux Software RAID) for RAID arrays.\ +" +HOMEPAGE = "https://github.com/intel/ledmon" + +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \ +" + +DEPENDS = " systemd sg3-utils" + +inherit systemd + +SYSTEMD_SERVICE_${PN} = "ledmon.service" + +SRC_URI = "git://github.com/intel/ledmon;branch=master \ +" + +SRCREV = "ad1304ca1363d727425a1f23703c523e21feae4f" + +COMPATIBLE_HOST = "(i.86|x86_64).*-linux" + +S = "${WORKDIR}/git" +EXTRA_OEMAKE = "CC='${CC}' LDFLAGS='${LDFLAGS}' CFLAGS='${CFLAGS}'" + +do_install_append() { + install -d ${D}/${systemd_unitdir}/system + oe_runmake DESTDIR=${D} install + oe_runmake DESTDIR=${D}${systemd_unitdir}/system install-systemd +}
Signature · 1 line
2.7.4
Quoted 17 lines · Liwei Song
Enable LED support for Intel Virtual RAID On CPU.
Signed-off-by Liwei Song <[email protected]>--- meta-oe/recipes-bsp/ledmon/ledmon_git.bb | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 meta-oe/recipes-bsp/ledmon/ledmon_git.bbmeta-oe/recipes-bsp/ledmon/ledmon_git.bb new file +2
-0@@ -0,0 +1,32 @@ +SUMMARY = "Intel(R) Enclosure LED Utilities" +
meta-oe/recipes-bsp/ledmon/ledmon_git.bb line 12
Quoted 10 lines
meta-oe/recipes-bsp/ledmon/ledmon_git.bb new file +10
-0+DESCRIPTION = "The utilities are designed primarily to be used on storage servers \ + utilizing MD devices (aka Linux Software RAID) for RAID arrays.\ +" +HOMEPAGE = "https://github.com/intel/ledmon" + +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3 \ +" + +DEPENDS = " systemd sg3-utils"
inheriting systemd below will add the dependency too so please remove it from DEPENDS
secondly, it fails to build on musl
Quoted 28 lines
meta-oe/recipes-bsp/ledmon/ledmon_git.bb new file +20
-1+ +inherit systemd + +SYSTEMD_SERVICE_${PN} = "ledmon.service" + +SRC_URI = "git://github.com/intel/ledmon;branch=master \ +" + +SRCREV = "ad1304ca1363d727425a1f23703c523e21feae4f" + +COMPATIBLE_HOST = "(i.86|x86_64).*-linux" + +S = "${WORKDIR}/git" +EXTRA_OEMAKE = "CC='${CC}' LDFLAGS='${LDFLAGS}' CFLAGS='${CFLAGS}'" + +do_install_append() { + install -d ${D}/${systemd_unitdir}/system + oe_runmake DESTDIR=${D} install + oe_runmake DESTDIR=${D}${systemd_unitdir}/system install-systemd +} --2.7.4
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel