mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-01 13:40:04 +00:00
lmsensors-config: Initial commit
lmsensors-config provides lmsensors configuration files. The main lmsensors recipe provides machine-independent parts of lmsensors, while this recipe allows configuration files to be machine-specific. The packages consist of: * lmsensors-config-libsensors: libsensors configuration file * lmsensors-config-sensord: sensord logging daemon configuration files * lmsensors-config-fancontrol: fancontrol script configuration file Signed-off-by: Thomas Fitzsimmons <fitzsim@cisco.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
4f1d751bc7
commit
7fab1b0167
@@ -0,0 +1,50 @@
|
|||||||
|
SUMMARY = "lm_sensors configuration files"
|
||||||
|
DESCRIPTION = "Hardware health monitoring configuration files"
|
||||||
|
HOMEPAGE = "http://www.lm-sensors.org/"
|
||||||
|
LICENSE = "MIT-X"
|
||||||
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||||
|
|
||||||
|
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||||
|
|
||||||
|
SRC_URI = "file://fancontrol \
|
||||||
|
file://sensord.cgi \
|
||||||
|
file://sensord.conf \
|
||||||
|
file://sensors.conf \
|
||||||
|
"
|
||||||
|
|
||||||
|
do_install() {
|
||||||
|
# Install fancontrol configuration file
|
||||||
|
install -d ${D}${sysconfdir}
|
||||||
|
install -m 0644 ${WORKDIR}/fancontrol ${D}${sysconfdir}
|
||||||
|
|
||||||
|
# Install libsensors configuration file
|
||||||
|
install -d ${D}${sysconfdir}/sensors.d
|
||||||
|
install -m 0644 ${WORKDIR}/sensors.conf ${D}${sysconfdir}/sensors.d
|
||||||
|
|
||||||
|
# Install sensord configuration file
|
||||||
|
install -m 0644 ${WORKDIR}/sensord.conf ${D}${sysconfdir}
|
||||||
|
|
||||||
|
# Install sensord.cgi script and create world-writable
|
||||||
|
# web-accessible sensord directory
|
||||||
|
install -d ${D}/www/pages/cgi-bin
|
||||||
|
install -m 0755 ${WORKDIR}/sensord.cgi ${D}/www/pages/cgi-bin
|
||||||
|
install -d -m a=rwxs ${D}/www/pages/sensord
|
||||||
|
}
|
||||||
|
|
||||||
|
# libsensors configuration
|
||||||
|
PACKAGES =+ "${PN}-libsensors"
|
||||||
|
|
||||||
|
# sensord logging daemon configuration
|
||||||
|
PACKAGES =+ "${PN}-sensord"
|
||||||
|
|
||||||
|
# fancontrol script configuration
|
||||||
|
PACKAGES =+ "${PN}-fancontrol"
|
||||||
|
|
||||||
|
# libsensors configuration file
|
||||||
|
FILES_${PN}-libsensors = "${sysconfdir}/sensors.d/sensors.conf"
|
||||||
|
|
||||||
|
# sensord logging daemon configuration files
|
||||||
|
FILES_${PN}-sensord = "${sysconfdir}/sensord.conf /www/*"
|
||||||
|
|
||||||
|
# fancontrol script configuration file
|
||||||
|
FILES_${PN}-fancontrol = "${sysconfdir}/fancontrol"
|
||||||
Reference in New Issue
Block a user