On Wed, 2011-11-30 at 23:56 +0100, Martin Jansa wrote: > Signed-off-by: Martin Jansa <[email protected]> > --- > meta/recipes-extended/sysstat/sysstat.inc | 6 +++++- > meta/recipes-extended/sysstat/sysstat_10.0.2.bb | 2 +- > 2 files changed, 6 insertions(+), 2 deletions(-) > > diff --git a/meta/recipes-extended/sysstat/sysstat.inc > b/meta/recipes-extended/sysstat/sysstat.inc > index 2936f96..5e0f7af 100644 > --- a/meta/recipes-extended/sysstat/sysstat.inc > +++ b/meta/recipes-extended/sysstat/sysstat.inc > @@ -22,7 +22,11 @@ do_install() { > } > > pkg_postinst_${PN} () { > - /etc/init.d/populate-volatile.sh update > + if [ "x$D" != "x" ]; then
Is that really what you mean? > + if [ -e /etc/init.d/populate-volatile.sh ]; then > + /etc/init.d/populate-volatile.sh update > + fi > + fi > } > Cheers, Richard _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
