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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

ソリューションへジャンプ
1,818件の閲覧回数
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,737件の閲覧回数
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,738件の閲覧回数
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