diff options
author | Zhenhua Luo <zhenhua.luo@freescale.com> | 2015-01-05 18:32:30 +0800 |
---|---|---|
committer | Zhenhua Luo <zhenhua.luo@freescale.com> | 2015-01-07 10:17:03 +0800 |
commit | cac1c43131c5e2fb5720c1c68677bb34d726497a (patch) | |
tree | 680d5e4c3a0905eb78dacfbecb081763cb1b34ef | |
parent | 716c6d76ea81ec0a63756bdfc2f85bd5e0b5958d (diff) | |
download | meta-freescale-cac1c43131c5e2fb5720c1c68677bb34d726497a.tar.gz |
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 <zhenhua.luo@freescale.com>
-rw-r--r-- | meta-fsl-ppc/recipes-extended/web-sysmon/web-sysmon_git.bb | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/meta-fsl-ppc/recipes-extended/web-sysmon/web-sysmon_git.bb b/meta-fsl-ppc/recipes-extended/web-sysmon/web-sysmon_git.bb index 506c0e10..84f60d51 100644 --- a/meta-fsl-ppc/recipes-extended/web-sysmon/web-sysmon_git.bb +++ b/meta-fsl-ppc/recipes-extended/web-sysmon/web-sysmon_git.bb | |||
@@ -4,18 +4,20 @@ LICENSE = "GPLv2" | |||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e" | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e" |
5 | 5 | ||
6 | SRC_URI = "git://git.freescale.com/ppc/sdk/web-sysmon-dev.git;nobranch=1" | 6 | SRC_URI = "git://git.freescale.com/ppc/sdk/web-sysmon-dev.git;nobranch=1" |
7 | SRCREV = "d8fafc6f223054a4129d5623e89d3dcf42ac8147" | 7 | SRCREV = "8d0c6eca1113832fabe917fd0cb25abe2d4d7157" |
8 | 8 | ||
9 | S = "${WORKDIR}/git" | 9 | inherit update-rc.d |
10 | 10 | ||
11 | FILES_${PN} += "/" | 11 | S = "${WORKDIR}/git" |
12 | 12 | ||
13 | RDEPENDS_${PN} = "lighttpd" | 13 | RDEPENDS_${PN} = "lighttpd" |
14 | 14 | ||
15 | do_install() { | 15 | EXTRA_OEMAKE += "D=${D}" |
16 | install -d ${D}/etc | 16 | do_install () { |
17 | install -m 644 ${S}/lighttpd.conf ${D}/etc | 17 | oe_runmake install |
18 | install -d ${D}/usr/local/bin | ||
19 | install -m 755 ${S}/rrd/sens_update_rrd ${D}/usr/local/bin | ||
20 | cp -r ${S}/rrd ${D}/usr | ||
21 | } | 18 | } |
19 | |||
20 | FILES_${PN} += "/" | ||
21 | |||
22 | INITSCRIPT_NAME = "web-sysmon.sh" | ||
23 | INITSCRIPT_PARAMS = "defaults 99 20" | ||