On Wed, May 3, 2023 at 03:47 AM, Anthony Abboud wrote:

> 
> HI Yocto Community,
> 
> I am currently working on build a custom Boot2Qt image to learn about
> How-To's since it's my first time playing with Yocto. I am successfully
> able to build an image for my system; manually inserting and launching my
> Qt application works great.
> 
> Now I want to include this app and some files into the rootfs of the
> image. I modified the recipe by adding the following lines at the end to
> attempt this:
> 
> ```
> SRC_URI += " \
> file://qtApp_qml \
> file://startup.sh \
> file://fb.modes \
> "
> 
> 

I am also a beginner but try adding S=${WORKDIR} and then building.

> 
> 
> do_install() {
> install -d ${D}/home/root
> install -m 755 ${WORKDIR}/qtApp_qml ${D}/home/root/
> 
> install -d ${D}/etc/init.d
> install -m 755 ${WORKDIR}/startup.sh ${D}/etc/init.d/
> 
> install -d ${D}/etc
> install -m 755 ${WORKDIR}/fb.modes ${D}/etc/
> }
> 
> FILES_${PN} += " \
> /home/root/qtApp_qml \
> /etc/init.d/startup.sh \
> /etc/fb.modes \
> "
> ```
> 
> 

After this run bitbake recipe. If there are no errors, then  add the line 
CORE_IMAGE_EXTRA_APPEND += “ recipe “ in local.conf folder.
Bitbake target

> 
> 
> But I'm simply unable to get those three files to show up at all in the
> final build (both the folders and files!).
> 
> I've tried a few variations I saw around but still nothing. Any idea
> what's missing?
> 
> Thanks!
> Anthony
> 
> 

Regards,
Hassan
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59848): https://lists.yoctoproject.org/g/yocto/message/59848
Mute This Topic: https://lists.yoctoproject.org/mt/98649960/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to