All of lore.kernel.org
 help / color / mirror / Atom feed
* Trouble Adding Files to rootfs
@ 2023-05-02 22:17 Anthony Abboud
  2023-05-03  0:51 ` Mohammed Hassan
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Anthony Abboud @ 2023-05-02 22:17 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 1090 bytes --]

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 \
"

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 \
"
```

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

[-- Attachment #2: Type: text/html, Size: 2015 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-05-03 16:13 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-02 22:17 Trouble Adding Files to rootfs Anthony Abboud
2023-05-03  0:51 ` Mohammed Hassan
2023-05-03  1:06 ` MOHAMMED HASSAN
2023-05-03  7:25 ` [yocto] " Mikko Rapeli
2023-05-03  8:12 ` MOHAMMED HASSAN
2023-05-03  8:33   ` [yocto] " Josef Holzmayr
2023-05-03 16:05     ` Anthony Abboud
     [not found]     ` <175BADC4F55E7349.14539@lists.yoctoproject.org>
2023-05-03 16:08       ` Anthony Abboud
     [not found]       ` <175BADF4585BE3A9.14539@lists.yoctoproject.org>
2023-05-03 16:13         ` Anthony Abboud

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.