From: Bruce Ashfield <bruce.ashfield@windriver.com>
To: "Joel (Xi Zhou) Zhou" <joel.zhou@broadcom.com>,
"yocto@yoctoproject.org" <yocto@yoctoproject.org>
Subject: Re: Kernel customized do_fetch issue
Date: Wed, 29 Apr 2015 15:22:36 -0400 [thread overview]
Message-ID: <55412F7C.8050700@windriver.com> (raw)
In-Reply-To: <9F136EE5FB53D64397ED1089A0E760E0162CD6BD@SJEXCHMB12.corp.ad.broadcom.com>
On 2015-04-29 02:08 PM, Joel (Xi Zhou) Zhou wrote:
>> But the question has to be asked. Why exactly are you manually fetching
>> the kernel ? The fetcher can take care of most everything.
>
> The whole story is starting at the url of our git repo. We have a git URL like:
> ssh://svcswgit@git-ccxsw.inhouse.com/linux-lsk
>
> So the SRC_URI like this, but the fetcher try to apply "scp" over it.
> KBRANCH= 3.14_common_dev
> SRC_URI = "ssh://svcswgit@git-ccxsw.inhouse.com/linux-lsk;bareclone=1;branch=${KBRANCH}"
> Error:
> ERROR: Fetcher failure: Fetch command failed with exit code 1, output:
> FATAL: unknown git/gitolite command: 'scp -r -f linux-lsk'
>
> Then I change it according the suggestion in this mailing list:
> SRC_URI = "git://svcswgit@git-ccxsw.inhouse.com/linux-lsk;bareclone=1;branch=${KBRANCH};protocol=ssh"
>
> This time "bitbake linux-lsk -c fetch" return no error, but the source folder in working directory is empty.
> In log.do_fetch
> DEBUG: Fetcher failure: Fetch command failed with exit code 8, output:
> http://downloads.yoctoproject.org/mirror/sources/git2_git-ccxsw.rtp. inhouse.com. linux-lsk.tar.gz:
> 2015-04-29 12:49:36 ERROR 404: Not Found.
I'd expect that it part of the log, since obviously the mirrors aren't
going to have a copy of your kernel.
You really aren't seeing anything land in the build/downloads/git2/
directory structure ? ssh fetches seem to work here.
You'd be better of working through the issues and getting the right
SRC_URI specification for the fetcher, since taking the fetch into a
custom routine is going to short circuit parts of the build .. and you'll
have to take care of them yourself.
Cheers,
Bruce
>
> Thanks,
> Joel
>
next prev parent reply other threads:[~2015-04-29 19:22 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-29 17:39 Kernel customized do_fetch issue Joel (Xi Zhou) Zhou
2015-04-29 17:52 ` Bruce Ashfield
2015-04-29 18:08 ` Joel (Xi Zhou) Zhou
2015-04-29 19:22 ` Bruce Ashfield [this message]
2015-04-29 19:44 ` Joel (Xi Zhou) Zhou
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=55412F7C.8050700@windriver.com \
--to=bruce.ashfield@windriver.com \
--cc=joel.zhou@broadcom.com \
--cc=yocto@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.