[yocto] Can i add two git sources in one single recipe

Vivek Per pervivek at gmail.com
Tue Dec 8 23:17:30 PST 2015


Hi,
   Thank you *Jussi Kukkonen* for you help
   I have tried the above procedure two git repo in one recipe, it is
fetching to download directory and getting failed while unpacking to the
work directory . I am using yocto 1.7 (dizzy) . The above SRC_URI mentioned
in gstreamer recipe in yocto 1.8 (fido). Does two SRC_URL in one recipe
works in yocto 1.7(dizzy) ?.
        I saw there is a small change in bitbake/lib/fetch2/git.py file in
 yocto 1.7 and yocto 1.8 . Is this the reason it is getting failed to
unpack. Is there any solution to do so?.

Thanks and Regards
      Vivek

On Thu, Oct 15, 2015 at 4:51 PM, Jussi Kukkonen <jussi.kukkonen at intel.com>
wrote:

> On 15 October 2015 at 14:03, Vivek Per <pervivek at gmail.com> wrote:
>
>> hi,
>>       Can i add two git source url in one recipe(SRC_URI).
>> If so how can i add and how can i give source revision for two these
>> files in one recipe.
>>
>
> Name the SRC_URIs, then set SRCREV_<name> for each of those. Example from
> gstreamer1.0-omx:
>
> SRC_URI = " \
>     git://
> anongit.freedesktop.org/gstreamer/gst-omx;branch=master;name=gst-omx \
>     git://
> anongit.freedesktop.org/gstreamer/common;destsuffix=git/common;branch=master;name=common
> \
>     file://0001-omx-fixed-type-error-in-printf-call.patch \
>     "
> SRCREV_gst-omx = "a2db76b048db278ef0aa798e106b7594264e06c0"
> SRCREV_common = "5edcd857b2107cd8b78c16232dd10877513ec157"
>
>  - Jussi
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20151209/1e13a3e6/attachment.html>


More information about the yocto mailing list