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
Solved! Go to Solution.
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
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
there are many prctl.c source codes out there do you know which one is a relatively good option?