Change Yocto RootFS

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
15,000件の閲覧回数
contra
Contributor III

Hi, I have used Yocto to create the fsl-image-gui, I'd like to add in a custom script to the RootFS.

I did try adding it into "tmp/work/imx28evk-poky-linux-gnueabi/fsl-image-gui/1.0-r0/rootfs/etc/X11/Xsession.d/" when I rebuild the image using the command "bitbake fsl-image-gui" and copy to SD card the new script doesn't appear.

Can anyone help me please?

1 解決策
6,201件の閲覧回数
LeonardoSandova
Specialist I

All custom scripts should be installed from  the recipe (.bb file or even better if you create a .bbappend file, into the do_install task). What is the recipe related to this script?. The rootfs to look is the one deploy on tmp/deploy/images/*.tar.bz2. All others rootfs under tmp are used during the build.

Leo

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
4,112件の閲覧回数
aiweixin
Contributor IV
 
 

Have you solved this problem? I have the same problem。Can you share it?

0 件の賞賛
返信
6,202件の閲覧回数
LeonardoSandova
Specialist I

All custom scripts should be installed from  the recipe (.bb file or even better if you create a .bbappend file, into the do_install task). What is the recipe related to this script?. The rootfs to look is the one deploy on tmp/deploy/images/*.tar.bz2. All others rootfs under tmp are used during the build.

Leo

0 件の賞賛
返信
6,201件の閲覧回数
daiane_angolini
NXP Employee
NXP Employee

If it´s something like xorg.conf, take a look here

https://github.com/Freescale/meta-fsl-arm/tree/master/recipes-graphics/xorg-xserver

if it´s something like rclocal, take a look here:

https://github.com/Freescale/meta-fsl-demos/tree/master/recipes-fsl/fsl-rc-local

Well, it may not be exactly what you want, but I think it may help :smileywink:

6,201件の閲覧回数
contra
Contributor III

Thank you, this helped.