summaryrefslogtreecommitdiff
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2011-12-07 15:59:02 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-12-08 15:14:26 +0000
commit6bf82c26f95359c08611bc9a44accf1593b2a850 (patch)
treeb253549b4098d36fdbcc1c11c2cc7257f6c5ed14 /meta/recipes-extended
parent852c4b8dcc99aa93e45680c0e42917d7dd202d55 (diff)
downloadopenembedded-core-6bf82c26f95359c08611bc9a44accf1593b2a850.tar.gz
openembedded-core-6bf82c26f95359c08611bc9a44accf1593b2a850.tar.bz2
openembedded-core-6bf82c26f95359c08611bc9a44accf1593b2a850.zip
sysstat: don't run populate-volatile.sh update in do_rootfs, first boot or without populate-volatile.sh
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
-rw-r--r--meta/recipes-extended/sysstat/sysstat.inc7
-rw-r--r--meta/recipes-extended/sysstat/sysstat_10.0.3.bb2
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() {
}
pkg_postinst_${PN} () {
- /etc/init.d/populate-volatile.sh update
+ if [ -n "$D" ]; then
+ exit 0
+ fi
+ if [ -e /etc/init.d/populate-volatile.sh ]; then
+ /etc/init.d/populate-volatile.sh update
+ fi
}
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
LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b"
-PR = "r0"
+PR = "r1"
SRC_URI[md5sum] = "0e1ed5200f31f69a3b90ff1e81c07745"
SRC_URI[sha256sum] = "7c0dd172f09edaff100b33db29ef502e15e71867b505c6d519f76a24fabcc1f5"