Thanks Khem. The git repo can accessed by public key, so user/passwd are not need. After changing the URL to this: SRC_URI = "git://svcsw...@git-ccxsw.inhouse.com/linux-lsk;bareclone=1;branch=${KBRANCH};protocol=ssh"
Then “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. Thanks, Joel From: Khem Raj [mailto:raj.k...@gmail.com] Sent: Wednesday, April 29, 2015 11:30 AM To: Joel (Xi Zhou) Zhou Cc: yocto@yoctoproject.org Subject: Re: [yocto] Kernel git repo fetch issue On Apr 29, 2015, at 8:21 AM, Joel (Xi Zhou) Zhou <joel.z...@broadcom.com<mailto:joel.z...@broadcom.com>> wrote: So in linux-lsk_3.14.29.bb file, we define: SRC_URI = "ssh://svcsw...@git-ccxsw.inhouse.com/linux-lsk;bareclone=1;branch=${KBRANCH}<ssh://svcsw...@git-ccxsw.inhouse.com/linux-lsk;bareclone=1;branch=$%7bKBRANCH%7d>" create a .netrc in your home folder like machine git-ccxsw.inhouse.com<http://git-ssxsw.inhouse.com> login svcswgit password <passwd> then change the SRC_URI to something SRC_URI = “git://git-ccxsw.inhouse.com/linux.lsk;bareclone=1;branch=<branch><git://git-ccxsw.inhouse.com/linux.lsk;bareclone=1;branch=%3Cbranch%3E>;protocol=ssh"
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto