From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH][oe-core 1/3] sysstat: don't run populate-volatile.sh update in do_rootfs or without populate-volatile.sh
Date: Wed, 30 Nov 2011 23:33:53 +0000 [thread overview]
Message-ID: <1322696033.17484.84.camel@ted> (raw)
In-Reply-To: <6d1a17a6a97b72caa8790538af19ba2c942c91ff.1322693708.git.Martin.Jansa@gmail.com>
On Wed, 2011-11-30 at 23:56 +0100, Martin Jansa wrote:
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
> 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
next prev parent reply other threads:[~2011-11-30 23:40 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-11-30 22:56 [PATCH][oe-core 0/3] Small fixes sysstat, squashfs-tools, gconf Martin Jansa
2011-11-30 22:56 ` [PATCH][oe-core 1/3] sysstat: don't run populate-volatile.sh update in do_rootfs or without populate-volatile.sh Martin Jansa
2011-11-30 23:33 ` Richard Purdie [this message]
2011-11-30 23:50 ` [PATCH] " Martin Jansa
2011-11-30 23:51 ` [PATCH][oe-core 1/3] " Martin Jansa
2011-11-30 22:57 ` [PATCH][oe-core 2/3] squashfs-tools: fix PR, those should start with 'r' Martin Jansa
2011-11-30 22:57 ` [PATCH][oe-core 3/3] gconf: add polkit to DEPENDS only for target recipe and disable default-service for native Martin Jansa
-- strict thread matches above, loose matches on Subject: below --
2011-12-06 8:34 [PATCH][oe-core 0/3] Small fixes for sysstat, matchbox-session and subversion upgrade Martin Jansa
2011-12-06 8:35 ` [PATCH][oe-core 1/3] sysstat: don't run populate-volatile.sh update in do_rootfs or without populate-volatile.sh Martin Jansa
2011-12-07 12:48 ` Richard Purdie
2011-12-07 12:50 ` Koen Kooi
2011-12-08 13:03 ` Richard Purdie
2011-12-07 14:57 ` Martin Jansa
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1322696033.17484.84.camel@ted \
--to=richard.purdie@linuxfoundation.org \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.