linux 发布项目补丁,【工程师分享】在PetaLinux里为模块创建补丁

本文介绍了如何在PetaLinux环境中为gstreamer-vcu-notebooks模块创建补丁。通过`petalinux-build -c -x update-recipe`命令更新配方,并使用`petalinux-build -c -x finish`命令完成补丁过程。在过程中,`finish`命令会删除sources目录下的相应模块,而`update-recipe`则会生成和复制补丁文件到meta-user目录。
摘要由CSDN通过智能技术生成

对比下面命令“petalinux-build -c -x update-recipe”和命令“petalinux-build -c -x finish”的结果,命令“petalinux-build -c -x finish”删除了components/yocto/workspace/sources下的目录gstreamer-vcu-notebooks。

hankf@XSZGS4:~/proj/zcu106/v201/vcu-trd-xv20/components/yocto/workspace/sources/gstreamer-vcu-notebooks$ git add test.txt

hankf@XSZGS4:~/proj/zcu106/v201/vcu-trd-xv20/components/yocto/workspace/sources/gstreamer-vcu-notebooks$ git commit -s

[devtool 23f4304] test

1 file changed, 2 insertions(+)

create mode 100644 test.txt

hankf@XSZGS4:~/proj/zcu106/v201/vcu-trd-xv20$ petalinux-build -c gstreamer-vcu-notebooks -x update-recipe

INFO: sourcing build tools

[INFO] building gstreamer-vcu-notebooks

[INFO] sourcing build environment

[INFO] generating user layers

[INFO] generating workspace directory

[INFO] Specified component gstreamer-vcu-notebooks already exists in workspace, Using the same...

[INFO] devtool update-recipe gstreamer-vcu-notebooks -a /home/hankf/proj/zcu106/v201/vcu-trd-xv20/project-spec/meta-user -w

NOTE: Starting bitbake server...

NOTE: Reconnecting to bitbake server...

NOTE: Retrying server connection (#1)...

NOTE: Reconnecting to bitbake server...

NOTE: Previous bitbake instance shutting down?, waiting to retry...

NOTE: Retrying server connection (#2)...

Loading cache: 100% |############################################

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值