简体   繁体   中英

yocto bitbake: how to know a package name from the error message and re-run it

I'm running Yocto bitbake commands and I have the following error message:

WARNING: kern-tools-native-0.2+gitAUTOINC+d6529f86fc-r12 do_fetch: Failed to fetch URL git://git.yoctoproject.org/yocto-kernel-tools.git, attempting MIRRORS if available

So it seems that git://git.yoctoproject.org/yocto-kernel-tools.git failed.

I would like to re-run something like bitbake -c -f fetch <package_name> but I don't know the package name from the name of yocto-kernel-tools.git .

If I run: bitbake -c -f yocto-kernel-tools

the error message is:

ERROR: Nothing PROVIDES 'yocto-kernel-tools'

我在我的 meta-* 文件夹中搜索了“yocto-kernel-tools.git”,发现它实际上在poky/meta/recipes-kernel/kenr-tools/kern-tools-native_git.bb ,所以是的,因为@Nayfe 评论说,配方名称是kern-tools-native

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM