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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

Jump to solution
1,890 Views
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.

Labels (2)
1 Solution
1,809 Views
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

View solution in original post

1 Reply
1,810 Views
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