[yocto] [PATCH] bitbake: fetch2/gitsm: avoid live submodule fetching during unpack()

Burton, Ross ross.burton at intel.com
Thu May 10 09:34:38 PDT 2018


On 10 May 2018 at 01:40, Matt Hoosier <matt.hoosier at gmail.com> wrote:
> On Wed, May 9, 2018 at 6:27 PM, Andre McCurdy <armccurdy at gmail.com> wrote:
>>
>> On Wed, May 9, 2018 at 2:48 PM, Matt Hoosier <matt.hoosier at gmail.com>
>> wrote:
>> > From: Matt Hoosier <matt.hoosier at garmin.com>
>> >
>> > Although the submodules' histories have been fetched during the
>> > do_fetch() phase, the mechanics used to clone the workdir copy
>> > of the repo haven't been transferring the actual .git/modules
>> > directory from the repo fetched into downloads/ during the
>> > fetch task.
>> >
>> > Fix that, and for good measure also explicitly tell Git to avoid
>> > hitting the network during do_unpack() of the submodules.
>> >
>> > Ref:
>> > https://bugzilla.yoctoproject.org/show_bug.cgi?id=12739
>>
>> Patches for bitbake should be sent to the bitbake-devel mailing list:
>>
>>   http://lists.openembedded.org/mailman/listinfo/bitbake-devel
>
>
>
> Right, okay. How's that meant to work for stuff developed in-tree with poky?
> Do you manually want the 'bitbake/' leading directory stripped off before
> emailing the patch?

If you're feeling lazy you can just send the patch to bitbake@ from a
poky repo and git will figure it out.  The same works the other way: a
bitbake patch applies fine to a poky repository.

Ross


More information about the yocto mailing list