All of lore.kernel.org
 help / color / mirror / Atom feed
From: Darren Hart <dvhart@linux.intel.com>
To: chinmaya hoshing <cahoshing@gmail.com>
Cc: poky@yoctoproject.org
Subject: Re: Getting error in linux-yocto kernel during build.
Date: Mon, 03 Oct 2011 08:39:45 -0700	[thread overview]
Message-ID: <4E89D741.3080607@linux.intel.com> (raw)
In-Reply-To: <CAMTw45Aercppi1zWi1FFeV1Pr_ypu-eXzevBF2zhfts+AXk3BA@mail.gmail.com>



On 10/02/2011 09:54 PM, chinmaya hoshing wrote:
> Hi,
> 
> In Downloads directory whatever were the entries for linux kernel 
> I have kept them in downloads folder while building.
> After this I disconnected the network and started the build ,But it
> throws error for Unable to fetch source for linux-libc-headers, whereas
> building my kernel  i.e linux-yocto_git.bb <http://linux-yocto_git.bb>
> with this downloads does not create any problem.


When building your kernel, which linux-libc-headers provider are you using?

Have you ensured that you did a "-c fetchall" for the image you want to
build so that all the downloads are sure to have downloaded before you
switch to no network?

Note that linux-libc-headers-yocto is the default linux-libc-headers
provider, and it uses the 2.6.37 yocto recipe, so it will need to
download that repository as well.

--
Darren

> 
> On Tue, Sep 27, 2011 at 9:58 AM, Darren Hart <dvhart@linux.intel.com
> <mailto:dvhart@linux.intel.com>> wrote:
> 
> 
> 
>     On 09/16/2011 05:38 AM, chinmaya hoshing 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.
> 
>     OK... why not just use a common download directory? From what you've
>     described your just trying to speed up the build on a single build
>     system.
> 
>     --
>     Darren
> 
>     >
>     > 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
>     <http://linux-yocto_git.bb> <http://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.
>     >
>     > Regards
>     > C Hoshing
>     >
>     >
>     >
>     > _______________________________________________
>     > poky mailing list
>     > poky@yoctoproject.org <mailto:poky@yoctoproject.org>
>     > https://lists.yoctoproject.org/listinfo/poky
> 
>     --
>     Darren Hart
>     Intel Open Source Technology Center
>     Yocto Project - Linux Kernel
> 
> 

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel


      reply	other threads:[~2011-10-03 15:39 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-16 12:38 Getting error in linux-yocto kernel during build chinmaya hoshing
2011-09-16 14:24 ` Bruce Ashfield
2011-09-16 14:35   ` Bruce Ashfield
2011-09-16 15:06     ` Richard Purdie
2011-09-16 15:11       ` Bruce Ashfield
2011-09-16 15:22       ` Gary Thomas
2011-09-20  9:51         ` chinmaya hoshing
2011-09-20 13:54           ` Bruce Ashfield
2011-09-21  4:49             ` chinmaya hoshing
2011-09-21 12:30               ` Bruce Ashfield
2011-09-21 14:03                 ` chinmaya hoshing
2011-09-21 16:10                   ` Bruce Ashfield
2011-09-22  8:39                     ` chinmaya hoshing
2011-09-22 14:50                       ` Bruce Ashfield
2011-09-27  4:40           ` Darren Hart
2011-09-27  4:28 ` Darren Hart
2011-10-03  4:54   ` chinmaya hoshing
2011-10-03 15:39     ` Darren Hart [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E89D741.3080607@linux.intel.com \
    --to=dvhart@linux.intel.com \
    --cc=cahoshing@gmail.com \
    --cc=poky@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.