From a50750e38ca5872e0d8c04462af6cf522d7de43d Mon Sep 17 00:00:00 2001 From: Zhenhua Luo Date: Mon, 5 Jan 2015 18:32:30 +0800 Subject: web-sysmon: update to revision 8d0c6ec 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 --- recipes-extended/web-sysmon/web-sysmon_git.bb | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) (limited to 'recipes-extended') diff --git a/recipes-extended/web-sysmon/web-sysmon_git.bb b/recipes-extended/web-sysmon/web-sysmon_git.bb index 506c0e1..84f60d5 100644 --- a/recipes-extended/web-sysmon/web-sysmon_git.bb +++ b/recipes-extended/web-sysmon/web-sysmon_git.bb @@ -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" -- cgit v1.2.3-54-g00ecf