This includes following fixes:
8d0c6ec Using Makefile to install the package
7d7a893 Add PM demo scripts support
472c2b1 Add startup script for web-sysmon package
ca33057 Add T4240QDS support
8508c8f Automatically scan hwmon system
522f8e2 Update the clean target of Makefile
24d3e4c Unify the template of temp/curr/in/power cgi script
cd66d0f Update the clean target of Makefile
c5dd6e8 Update description of sens_create_rrd
Update recipe to match the code changes:
1. use 'oe_runmake install'
2. install web-sysmon.sh as init script
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e"
SRC_URI = "git://git.freescale.com/ppc/sdk/web-sysmon-dev.git;nobranch=1"
-SRCREV = "d8fafc6f223054a4129d5623e89d3dcf42ac8147"
+SRCREV = "8d0c6eca1113832fabe917fd0cb25abe2d4d7157"
-S = "${WORKDIR}/git"
+inherit update-rc.d
-FILES_${PN} += "/"
+S = "${WORKDIR}/git"
RDEPENDS_${PN} = "lighttpd"
-do_install() {
- install -d ${D}/etc
- install -m 644 ${S}/lighttpd.conf ${D}/etc
- install -d ${D}/usr/local/bin
- install -m 755 ${S}/rrd/sens_update_rrd ${D}/usr/local/bin
- cp -r ${S}/rrd ${D}/usr
+EXTRA_OEMAKE += "D=${D}"
+do_install () {
+ oe_runmake install
}
+
+FILES_${PN} += "/"
+
+INITSCRIPT_NAME = "web-sysmon.sh"
+INITSCRIPT_PARAMS = "defaults 99 20"