diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2011-12-07 15:59:02 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-12-08 15:24:29 +0000 |
commit | 31ac06a3a00221c9ba8074c9b18998761b68be07 (patch) | |
tree | a937b8763f943bc189456f266fe352ea881d5376 /meta/recipes-extended/sysstat | |
parent | 567ed2892b48c725883d7b04d451847ff5a7b3f3 (diff) | |
download | poky-31ac06a3a00221c9ba8074c9b18998761b68be07.tar.gz |
sysstat: don't run populate-volatile.sh update in do_rootfs, first boot or without populate-volatile.sh
(From OE-Core rev: 6bf82c26f95359c08611bc9a44accf1593b2a850)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/sysstat')
-rw-r--r-- | meta/recipes-extended/sysstat/sysstat.inc | 7 | ||||
-rw-r--r-- | meta/recipes-extended/sysstat/sysstat_10.0.3.bb | 2 |
2 files changed, 7 insertions, 2 deletions
diff --git a/meta/recipes-extended/sysstat/sysstat.inc b/meta/recipes-extended/sysstat/sysstat.inc index 2936f96174..9da40a7067 100644 --- a/meta/recipes-extended/sysstat/sysstat.inc +++ b/meta/recipes-extended/sysstat/sysstat.inc | |||
@@ -22,7 +22,12 @@ do_install() { | |||
22 | } | 22 | } |
23 | 23 | ||
24 | pkg_postinst_${PN} () { | 24 | pkg_postinst_${PN} () { |
25 | /etc/init.d/populate-volatile.sh update | 25 | if [ -n "$D" ]; then |
26 | exit 0 | ||
27 | fi | ||
28 | if [ -e /etc/init.d/populate-volatile.sh ]; then | ||
29 | /etc/init.d/populate-volatile.sh update | ||
30 | fi | ||
26 | } | 31 | } |
27 | 32 | ||
28 | 33 | ||
diff --git a/meta/recipes-extended/sysstat/sysstat_10.0.3.bb b/meta/recipes-extended/sysstat/sysstat_10.0.3.bb index d445e88cf5..7ef6c60d7f 100644 --- a/meta/recipes-extended/sysstat/sysstat_10.0.3.bb +++ b/meta/recipes-extended/sysstat/sysstat_10.0.3.bb | |||
@@ -2,7 +2,7 @@ require sysstat.inc | |||
2 | 2 | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" |
4 | 4 | ||
5 | PR = "r0" | 5 | PR = "r1" |
6 | 6 | ||
7 | SRC_URI[md5sum] = "0e1ed5200f31f69a3b90ff1e81c07745" | 7 | SRC_URI[md5sum] = "0e1ed5200f31f69a3b90ff1e81c07745" |
8 | SRC_URI[sha256sum] = "7c0dd172f09edaff100b33db29ef502e15e71867b505c6d519f76a24fabcc1f5" | 8 | SRC_URI[sha256sum] = "7c0dd172f09edaff100b33db29ef502e15e71867b505c6d519f76a24fabcc1f5" |