sed: can't read busybox.links*: No such file or directory

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

sed: can't read busybox.links*: No such file or directory

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

Hi,

I added a new script into my recipe busybox, so the new file is a C file I had to use:

do_compile() {

${CC} ${WORKDIR}/myscript.c -o ${WORKDIR}/myscript

}

then 

do_install_append() {

}

After I finish everything and bake again I got this error says:

sed: can't read busybox.links*: No such file or directory

Is because I need to reconfigure the busybox to add the C output file?

If so how to make my busybox realizes my changes.

标签 (2)
1 解答
1,411 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Hello Elias Bitbaker,

Do you use Yocto SDK? Would you please attach you recipe file and C file myscript.c?

Please refer to the following 

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 回复
1,412 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Hello Elias Bitbaker,

Do you use Yocto SDK? Would you please attach you recipe file and C file myscript.c?

Please refer to the following 

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