diff options
author | Yu Ke <ke.yu@intel.com> | 2010-08-26 11:40:08 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 13:29:50 +0100 |
commit | cc0a7034c21d3b3cb4a4793bbac22dcd76b16f28 (patch) | |
tree | 04f209ed0f01feda20fb5026da57a65dadead698 /meta-lsb/packages | |
parent | 5bb55610f3eb6bba0c04d57733ffa056705c5336 (diff) | |
download | poky-cc0a7034c21d3b3cb4a4793bbac22dcd76b16f28.tar.gz |
sysstat: add sysstat 9.1.4
sysstat is a collection of performance monitoring tools. this commit adds sysstat 9.1.4.
the recipe is ported from OE, with following changes:
- upgrade to 9.1.4
- use populate-volatile to populate /var/log/sa
Signed-off-by: Yu Ke <ke.yu@intel.com>
Diffstat (limited to 'meta-lsb/packages')
-rw-r--r-- | meta-lsb/packages/sysstat/files/99_sysstat | 1 | ||||
-rw-r--r-- | meta-lsb/packages/sysstat/sysstat.inc | 33 | ||||
-rw-r--r-- | meta-lsb/packages/sysstat/sysstat_9.1.4.bb | 7 |
3 files changed, 41 insertions, 0 deletions
diff --git a/meta-lsb/packages/sysstat/files/99_sysstat b/meta-lsb/packages/sysstat/files/99_sysstat new file mode 100644 index 0000000000..0b0ec30de0 --- /dev/null +++ b/meta-lsb/packages/sysstat/files/99_sysstat | |||
@@ -0,0 +1 @@ | |||
d root root 0755 /var/log/sa none | |||
diff --git a/meta-lsb/packages/sysstat/sysstat.inc b/meta-lsb/packages/sysstat/sysstat.inc new file mode 100644 index 0000000000..564bc7da07 --- /dev/null +++ b/meta-lsb/packages/sysstat/sysstat.inc | |||
@@ -0,0 +1,33 @@ | |||
1 | DESCRIPTION = "The sysstat utilities are a collection of performance monitoring tools for Linux." | ||
2 | HOMEPAGE = "http://sebastien.godard.pagesperso-orange.fr/" | ||
3 | LICENSE = "GPLv2+" | ||
4 | SECTION = "console/utils" | ||
5 | |||
6 | DEPENDS = "virtual/libintl" | ||
7 | |||
8 | SRC_URI = "http://pagesperso-orange.fr/sebastien.godard/sysstat-${PV}.tar.gz \ | ||
9 | file://99_sysstat" | ||
10 | |||
11 | inherit autotools | ||
12 | |||
13 | do_install() { | ||
14 | autotools_do_install | ||
15 | |||
16 | # don't install /var/log/sa when populating rootfs. Do it through volatile | ||
17 | |||
18 | rm -rf ${D}/var | ||
19 | install -d ${D}/etc/default/volatiles | ||
20 | install -m 0644 ${WORKDIR}/99_sysstat ${D}/etc/default/volatiles | ||
21 | } | ||
22 | |||
23 | pkg_postinst_${PN} () { | ||
24 | /etc/init.d/populate-volatile.sh update | ||
25 | } | ||
26 | |||
27 | |||
28 | FILES_${PN} += "${libdir}/sa" | ||
29 | |||
30 | TARGET_CC_ARCH += "${LDFLAGS}" | ||
31 | LDFLAGS_append_linux-uclibc = " -lintl" | ||
32 | LDFLAGS_append_linux-uclibceabi = " -lintl" | ||
33 | LDFLAGS_append_linux-uclibcspe = " -lintl" | ||
diff --git a/meta-lsb/packages/sysstat/sysstat_9.1.4.bb b/meta-lsb/packages/sysstat/sysstat_9.1.4.bb new file mode 100644 index 0000000000..d7b7e667d6 --- /dev/null +++ b/meta-lsb/packages/sysstat/sysstat_9.1.4.bb | |||
@@ -0,0 +1,7 @@ | |||
1 | require sysstat.inc | ||
2 | |||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" | ||
4 | |||
5 | PR = "r0" | ||
6 | |||
7 | |||