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 (#64401): https://lists.yoctoproject.org/g/yocto/message/64401
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]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to