Hi, It turns out I was modifying a different copy of the recipe I was building. FILES:${PN} += "/bt_firmware" is working now.
Thank you anyways. Best regards, Jesús Jiménez Sánchez ________________________________ From: Bejar-Colonia, Carlos <carlos.bejar-colo...@philips.com> Sent: Wednesday 4 December 2024 16:53 To: yocto@lists.yoctoproject.org <yocto@lists.yoctoproject.org>; Jesus Jimenez Sanchez <jesus.jimenezsanc...@verifone.com> Subject: RE: [yocto] Installing empty directory You don't often get email from carlos.bejar-colo...@philips.com. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification> CAUTION: This email originated from outside of our organization. Do not click links or open attachments unless you recognize the sender and know the content is safe. Which yocto version are you using? You may want to try: FILES:${PN} += "/bt_firmware" -Carlos From: yocto@lists.yoctoproject.org <yocto@lists.yoctoproject.org> On Behalf Of Jesus Jimenez Sanchez via lists.yoctoproject.org Sent: Wednesday, December 4, 2024 11:42 AM To: yocto@lists.yoctoproject.org Subject: [yocto] Installing empty directory Caution: This e-mail originated from outside of Philips, be careful for phishing. Hello, I am trying to add an empty directory using a recipe. I have this in the do_install: do_install() { install -d ${D}/bt_firmware } FILES_${PN} += "/bt_firmware" But I get the following error: Files/directories were installed but not shipped in any package: /bt_firmware Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install. What am I missing here? What should I add to get it shipped? ________________________________ The information contained in this message may be confidential and legally protected under applicable law. The message is intended solely for the addressee(s). If you are not the intended recipient, you are hereby notified that any use, forwarding, dissemination, or reproduction of this message is strictly prohibited and may be unlawful. If you are not the intended recipient, please contact the sender by return e-mail and destroy all copies of the original message.
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#64402): https://lists.yoctoproject.org/g/yocto/message/64402 Mute This Topic: https://lists.yoctoproject.org/mt/109922958/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-