How to add a binary (prctl) into yocto busybox ls1021a

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

How to add a binary (prctl) into yocto busybox ls1021a

跳至解决方案
1,599 次查看
jiye
Contributor V

Hi,

I want to change behaviors for some processes control using prctl in my bash script but i found out that this command does not exist in the busybox command conf file.

How can i add this binary into my busybox or rootfs

标签 (2)
0 项奖励
1 解答
1,515 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Hello Elias Bitbaker,

Q: How do I add a pre-built binary into the rootfs?
A: Do the following:
1. $ cd <sdk-install-dir>.
2. Add the files:
• $ cd sources/meta-freescale/recipes-extended/merge-files
• Put the files into files/merge, e.g. put bash into files/merge/, bash will be included in /home/root/ of the new rootfs.
3. Build new rootfs image:
• $ bitbake <rootfs-target>

Thanks,

Yiping

在原帖中查看解决方案

2 回复数
1,516 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Hello Elias Bitbaker,

Q: How do I add a pre-built binary into the rootfs?
A: Do the following:
1. $ cd <sdk-install-dir>.
2. Add the files:
• $ cd sources/meta-freescale/recipes-extended/merge-files
• Put the files into files/merge, e.g. put bash into files/merge/, bash will be included in /home/root/ of the new rootfs.
3. Build new rootfs image:
• $ bitbake <rootfs-target>

Thanks,

Yiping

1,515 次查看
jiye
Contributor V

there are many prctl.c source codes out there do you know which one is a relatively good option?

0 项奖励