[OE-core] [PATCH] tzdata_2011n: provide pkg_postinst and timezone defaults

Richard Purdie richard.purdie at linuxfoundation.org
Fri Jan 27 09:59:13 UTC 2012


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







More information about the Openembedded-core mailing list