]> code.ossystems Code Review - meta-freescale.git/commitdiff
web-sysmon: update to revision 8d0c6ec
authorZhenhua Luo <zhenhua.luo@freescale.com>
Mon, 5 Jan 2015 10:32:30 +0000 (18:32 +0800)
committerZhenhua Luo <zhenhua.luo@freescale.com>
Wed, 7 Jan 2015 02:17:03 +0000 (10:17 +0800)
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>
meta-fsl-ppc/recipes-extended/web-sysmon/web-sysmon_git.bb

index 506c0e10a1148bd2bb69f4feda3dfac6b2868f2f..84f60d513d9b226c0ff1ce3a5c2bc5ca56442498 100644 (file)
@@ -4,18 +4,20 @@ LICENSE = "GPLv2"
 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"