Yocto Project with Repo Init

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Yocto Project with Repo Init

3,190 次查看
ylmzhsn_
Contributor III

Hi NXP,

We are getting repo init error.  

Referance Link= ( https://www.nxp.com/docs/en/user-guide/IMX_YOCTO_PROJECT_USERS_GUIDE.pdf )

Step 1 : 

$ mkdir ~/bin

$ curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo

$ chmod a+x ~/bin/repo

$export PATH=~/bin:$PATH

Step 2 : 

$ git config --global user.name "Your Name"
$ git config --global user.email "Your Email"
$ git config --list

Step 3: 

$ mkdir imx-yocto-bsp
$ cd imx-yocto-bsp
$ repo init -u https://github.com/nxp-imx/imx-manifest -b imx-linux-kirkstone -m imx-5.15.52-2.1.0.xml

Error: 

manifests: 

/home/user/.repo/manifests.git'

manifests: sleeping 4.0 seconds before retrying

fatal: cannot obtain manifest https://source.codeaurora.org/external/imx/imx-manifest

0 项奖励
回复
2 回复数

3,181 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello

This must a proxy issue or I found out you need to have the right gpg key in the ~/.repoconfig folder

Similar to https://stackoverflow.com/a/63125058

But put the key in right place.

mkdir -p ~/.repoconfig/gnupg/
GNUPGHOME=~/.repoconfig/gnupg/ gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 692B382C
 
Regards
 
 
0 项奖励
回复

3,168 次查看
ylmzhsn_
Contributor III

Hi,

I did what you said but I'm not sure where to put the key.

GNUPGHOME=~/.repoconfig/gnupg/ gpg --keyserver hkp://pool.sks-keyservers.net --recv-keys 692B382C
Error : 

gpg: keyserver receive failed: Server indicated a failure

I need to solve this problem urgently.

 

Best Regards.

 

标记 (1)
0 项奖励
回复