[OE-core] [PATCH RESEND] kernel.bbclass: fix emit_depmod_pkgdata() workdir

Ioan-Adrian Ratiu adrian.ratiu at ni.com
Thu Aug 11 09:32:47 UTC 2016


On Thu, 11 Aug 2016, Ioan-Adrian Ratiu <adrian.ratiu at ni.com> wrote:
> On Wed, 10 Aug 2016, "Burton, Ross" <ross.burton at intel.com> wrote:
>> On 10 August 2016 at 16:58, Ioan-Adrian Ratiu <adrian.ratiu at ni.com> wrote:
>>
>>> bitbake commit 67a7b8b02 "build: don't use $B as the default cwd for
>>> functions" breaks the assumption that this function is running under
>>> ${B}. This causes build failures because System.map is under ${B}.
>>>
>>
>> For clarity, can the function simply always use absolute paths instead of
>> relying on cwd?
>
> Yes, but other functions inside this bbclass also rely on cwd being
> ${B}; should I modify only this one to absolute paths or modify all of
> these functions (do_shared_workdir, or do_strip) to maintain consistency?
>

Ah nvm, I've looked closer at them functions and their use of cwd = $B
makes sense so it doesn't need modyfing. I'll resubmit only this patch.

>>
>> Ross
> -- 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the Openembedded-core mailing list