On Tue, May 2, 2023 at 03:17 PM, 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 \
> "
>
>
Add S=${WORKDIR}
>
>
> 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 \
> "
> ``
>
>
Run bitbake recipename
if it builds successfully then add the recipe to local.conf folder by appending
the line CORE_IMAGE_EXTRA_INSTALL += “ recipename “
Save and run bitbake target
I've tried a few variations I saw around but still nothing. Any idea what's
missing?
Can you please elaborate on all variations you have tried.
I am also a beginner on yocto so my additions may not work, but give it a try
and let me know once the files are loaded.
Regards,
Hassan
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#59846): https://lists.yoctoproject.org/g/yocto/message/59846
Mute This Topic: https://lists.yoctoproject.org/mt/98649960/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-