[poky] Getting error in linux-yocto kernel during build.
Bruce Ashfield
bruce.ashfield at gmail.com
Fri Sep 16 07:35:57 PDT 2011
On Fri, Sep 16, 2011 at 10:24 AM, Bruce Ashfield
<bruce.ashfield at gmail.com> wrote:
> On Fri, Sep 16, 2011 at 8:38 AM, chinmaya hoshing <cahoshing at gmail.com> wrote:
>> Hi ,
>> I am building poky-build minimal live image for fishriver machine on 64 bit
>> host machine.
>> As I am having limited internet band-width, so I have identified all the
>> dependent packages and setup a Apache server on my local system so that I
>> can redirect the SRC_URI of all the packages to my local server.
>> I have changed the related recipes to build minimal live image, and modify
>> bitbake.conf to add LOCAL_MIRROR="xxx.xxx.xxx.xxx/packages" , in side
>> packages I have tars which was present "build/download" folder.
>> While building linux-yocto, fetch and unpack was done but during kernel
>> checkout whatever git commits I have done previously in poky source were
>> flashed out (lost), also the only recipe remains in meta/recipe-kernel/ is
>> linux .
>>
>> Following are the changes made in
>> meta/recipes-kernel/linux/linux-yocto_git.bb
>> #SRCREV_FORMAT = "meta_machine"
>> SRC_URI = "${LOCAL_MIRROR}/linux-yocto-3.0-3.0.tar.bz2"
>> // This tar file I took from
>> http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-3.0/snapshot/linux-yocto-3.0-3.0.tar.bz2
>> PV = "${LINUX_VERSION}"
>> In file meta-intel/meta-fishriver/conf/machine/fishriver.conf I modified
>> PREFERRED_VERSION_linux-yocto = "3.0" (which was
>> PREFERRED_VERSION_linux-yocto = "3.0+git%" )
>>
>> Can any one help me to find the solution that if I had to pull linux kernel
>> source from tar file or such and not from git repository. What things I have
>> to do.
>
> The linux-yocto recipes are designed from the ground up to work on a git
> based repository, and there's really no way to get around that fact (and no
> plans to make any changes in this area).
Thinking further about this, if the tgz actually was just a tarball of the git
repositories (including the git blobs), it could work. But I'm not familiar with
the fetcher/bitbake internals in this area enough to know if this is possible.
Bruce
>
> So why not setup a git server, or put a local git repository on your build
> machine and reference that ?
>
> Bruce
>
>> Regards
>> C Hoshing
>>
>> _______________________________________________
>> poky mailing list
>> poky at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/poky
>>
>>
>
>
>
> --
> "Thou shalt not follow the NULL pointer, for chaos and madness await
> thee at its end"
>
--
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"
More information about the poky
mailing list