diff options
author | Thomas Fitzsimmons <fitzsim@cisco.com> | 2013-02-08 00:13:09 +0000 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-02-16 05:55:00 +0100 |
commit | 7fab1b0167786b90aa24d036c3cade505ec11bbc (patch) | |
tree | a278fa04ac4d40ddbe0fc86a2d3cd672caa04205 /meta-oe | |
parent | 4f1d751bc72ef28f8591740195d78a8cbfc2a675 (diff) | |
download | meta-openembedded-7fab1b0167786b90aa24d036c3cade505ec11bbc.tar.gz |
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>
Diffstat (limited to 'meta-oe')
-rw-r--r-- | meta-oe/recipes-support/lm_sensors/lmsensors-config/fancontrol (renamed from meta-oe/recipes-support/lm_sensors/files/fancontrol) | 0 | ||||
-rw-r--r-- | meta-oe/recipes-support/lm_sensors/lmsensors-config/sensord.cgi (renamed from meta-oe/recipes-support/lm_sensors/files/sensord.cgi) | 0 | ||||
-rw-r--r-- | meta-oe/recipes-support/lm_sensors/lmsensors-config/sensord.conf (renamed from meta-oe/recipes-support/lm_sensors/files/sensord.conf) | 0 | ||||
-rw-r--r-- | meta-oe/recipes-support/lm_sensors/lmsensors-config/sensors.conf (renamed from meta-oe/recipes-support/lm_sensors/files/sensors.conf) | 0 | ||||
-rw-r--r-- | meta-oe/recipes-support/lm_sensors/lmsensors-config_1.0.bb | 50 |
5 files changed, 50 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/lm_sensors/files/fancontrol b/meta-oe/recipes-support/lm_sensors/lmsensors-config/fancontrol index 1f03a2bf2..1f03a2bf2 100644 --- a/meta-oe/recipes-support/lm_sensors/files/fancontrol +++ b/meta-oe/recipes-support/lm_sensors/lmsensors-config/fancontrol | |||
diff --git a/meta-oe/recipes-support/lm_sensors/files/sensord.cgi b/meta-oe/recipes-support/lm_sensors/lmsensors-config/sensord.cgi index b1aad05b6..b1aad05b6 100644 --- a/meta-oe/recipes-support/lm_sensors/files/sensord.cgi +++ b/meta-oe/recipes-support/lm_sensors/lmsensors-config/sensord.cgi | |||
diff --git a/meta-oe/recipes-support/lm_sensors/files/sensord.conf b/meta-oe/recipes-support/lm_sensors/lmsensors-config/sensord.conf index 6b48cf604..6b48cf604 100644 --- a/meta-oe/recipes-support/lm_sensors/files/sensord.conf +++ b/meta-oe/recipes-support/lm_sensors/lmsensors-config/sensord.conf | |||
diff --git a/meta-oe/recipes-support/lm_sensors/files/sensors.conf b/meta-oe/recipes-support/lm_sensors/lmsensors-config/sensors.conf index bb8c93de6..bb8c93de6 100644 --- a/meta-oe/recipes-support/lm_sensors/files/sensors.conf +++ b/meta-oe/recipes-support/lm_sensors/lmsensors-config/sensors.conf | |||
diff --git a/meta-oe/recipes-support/lm_sensors/lmsensors-config_1.0.bb b/meta-oe/recipes-support/lm_sensors/lmsensors-config_1.0.bb new file mode 100644 index 000000000..058ae1b89 --- /dev/null +++ b/meta-oe/recipes-support/lm_sensors/lmsensors-config_1.0.bb | |||
@@ -0,0 +1,50 @@ | |||
1 | SUMMARY = "lm_sensors configuration files" | ||
2 | DESCRIPTION = "Hardware health monitoring configuration files" | ||
3 | HOMEPAGE = "http://www.lm-sensors.org/" | ||
4 | LICENSE = "MIT-X" | ||
5 | LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
6 | |||
7 | PACKAGE_ARCH = "${MACHINE_ARCH}" | ||
8 | |||
9 | SRC_URI = "file://fancontrol \ | ||
10 | file://sensord.cgi \ | ||
11 | file://sensord.conf \ | ||
12 | file://sensors.conf \ | ||
13 | " | ||
14 | |||
15 | do_install() { | ||
16 | # Install fancontrol configuration file | ||
17 | install -d ${D}${sysconfdir} | ||
18 | install -m 0644 ${WORKDIR}/fancontrol ${D}${sysconfdir} | ||
19 | |||
20 | # Install libsensors configuration file | ||
21 | install -d ${D}${sysconfdir}/sensors.d | ||
22 | install -m 0644 ${WORKDIR}/sensors.conf ${D}${sysconfdir}/sensors.d | ||
23 | |||
24 | # Install sensord configuration file | ||
25 | install -m 0644 ${WORKDIR}/sensord.conf ${D}${sysconfdir} | ||
26 | |||
27 | # Install sensord.cgi script and create world-writable | ||
28 | # web-accessible sensord directory | ||
29 | install -d ${D}/www/pages/cgi-bin | ||
30 | install -m 0755 ${WORKDIR}/sensord.cgi ${D}/www/pages/cgi-bin | ||
31 | install -d -m a=rwxs ${D}/www/pages/sensord | ||
32 | } | ||
33 | |||
34 | # libsensors configuration | ||
35 | PACKAGES =+ "${PN}-libsensors" | ||
36 | |||
37 | # sensord logging daemon configuration | ||
38 | PACKAGES =+ "${PN}-sensord" | ||
39 | |||
40 | # fancontrol script configuration | ||
41 | PACKAGES =+ "${PN}-fancontrol" | ||
42 | |||
43 | # libsensors configuration file | ||
44 | FILES_${PN}-libsensors = "${sysconfdir}/sensors.d/sensors.conf" | ||
45 | |||
46 | # sensord logging daemon configuration files | ||
47 | FILES_${PN}-sensord = "${sysconfdir}/sensord.conf /www/*" | ||
48 | |||
49 | # fancontrol script configuration file | ||
50 | FILES_${PN}-fancontrol = "${sysconfdir}/fancontrol" | ||