From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: [PATCH] tzdata_2011n: provide pkg_postinst and timezone defaults
Date: Fri, 27 Jan 2012 09:59:13 +0000 [thread overview]
Message-ID: <1327658353.19643.443.camel@ted> (raw)
In-Reply-To: <CAAQYJAsUbgnrREyabxF6mLed5m+3a0mU_tMcSu_rPYF4DHSnnQ@mail.gmail.com>
On Fri, 2012-01-27 at 09:56 +0100, Andrea Adami wrote:
> Please take on hold this patch.
> Further inspection of do_rootfs logs reveals that the postinst is run
> during that task and the code tries to write /etc/localtime on host,
> fails and exits 1.
>
> I'll add a check like
>
> pkg_postinst_${PN}() {
> if test "x$D" != "x"; then
> exit 1
> else
>
> and send a revised patch in a few hours.
How about prefixing the paths with $D instead of forcing this onto the
target? (note, not ${D})
Cheers,
Richard
next prev parent reply other threads:[~2012-01-27 10:07 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-14 13:07 [PATCH] tzdata_2011n: provide pkg_postinst and timezone defaults Andrea Adami
2012-01-14 15:10 ` Koen Kooi
2012-01-14 15:54 ` Eric Bénard
2012-01-14 19:16 ` Koen Kooi
2012-01-15 11:17 ` Andrea Adami
2012-01-15 11:22 ` Koen Kooi
2012-01-23 14:21 ` Andrea Adami
2012-01-23 16:49 ` Mark Hatle
2012-01-27 8:56 ` Andrea Adami
2012-01-27 9:59 ` Richard Purdie [this message]
2012-01-28 7:57 ` [PATCH v2] " Andrea Adami
2012-01-28 8:26 ` Koen Kooi
2012-02-01 15:24 ` Richard Purdie
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=1327658353.19643.443.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.