bitbake 常用命令

bitbake -e、bitbake -s 、bitbake -c 、bitbake -g 、bitbake -C 的用法
bitbake -e 显示当前的执行环境,常用于查找当前bitbake的包的源路径和目标路径。
查找包的原路径 bitbake -e hello | grep ^SRC_URI
查找包的安装路径 bitbake -e hello | grep ^S=

bitbake -s 用于显示所有可以bitbake的包
例如如果自己在一个Layer下面安装了一个hello.bb,在build目录下面用 bitbake -s | grep hello 查看hello这个package能否被bitbake.

bitbake -c 用于执行一个特定的命令
bitbake -g 用于显示一个包在bitbake的时候于其他包的依赖关系
bitbake -v 显示执行过程。
bitbake -b 后面加上.bb文件的路径,可以用bitbake直接执行这个.bb文件。

bitbake -c do_clean busybox
bitbake -c do_fetch busybox

error中的出现的编译方式:

ERROR: dpdk_19.11.5.bb:do_fetch, the basehash value changed from 
eecbf7c92ae88499c27f30476cd570999eff7d57139fb556851972d426943007 to 6cc39f22667be6dc7d2d8a9cf4e0584b3526ec05c673c43eb847978cd02d50cd. 
The metadata is not deterministic and this needs to be fixed.
ERROR: The following commands may help:
ERROR: $ bitbake dpdk -cdo_fetch -Snone
ERROR: Then:
ERROR: $ bitbake dpdk -cdo_fetch -Sprintdiff

ERROR: dpdk_19.11.5.bb:do_unpack, the basehash value changed from 
12d8150c81780fcf008484536928dfec415bee6a0086f31f642b8589b55486ad to 96e45737de56c2bec0aa05355feec37078c11e7813af5ed55db6e55beed93435. 
The metadata is not deterministic and this needs to be fixed.
ERROR: The following commands may help:
ERROR: $ bitbake dpdk -cdo_unpack -Snone
ERROR: Then:
ERROR: $ bitbake dpdk -cdo_unpack -Sprintdiff

ERROR: dpdk_19.11.5.bb:do_populate_lic, the basehash value changed from 
d9caa5426d5cb31eb432351ec9dc9ddc58740d93b574c223130e919a3c8fe99c to 45e7d1ffbb59afa9ce4476fc780d98160e8d831f4ffd2e2e8e95114543fd9c76. 
The metadata is not deterministic and this needs to be fixed.
ERROR: The following commands may help:
ERROR: $ bitbake dpdk -cdo_populate_lic -Snone
ERROR: Then:
ERROR: $ bitbake dpdk -cdo_populate_lic -Sprintdiff
  • 3
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值