Installing empty directory
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?
Which yocto version are you using?
You may want to try:
FILES:${PN} += "/bt_firmware"
-Carlos
From: [email protected] <[email protected]> On Behalf Of Jesus Jimenez Sanchez via lists.yoctoproject.org
Sent: Wednesday, December 4, 2024 11:42 AM
To: [email protected]
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.
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 <[email protected]>
Sent: Wednesday 4 December 2024 16:53
To: [email protected] <[email protected]>; Jesus Jimenez Sanchez <[email protected]>
Subject: RE: [yocto] Installing empty directory
You don't often get email from [email protected]. 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: [email protected] <[email protected]> On Behalf Of Jesus Jimenez Sanchez via lists.yoctoproject.org
Sent: Wednesday, December 4, 2024 11:42 AM
To: [email protected]
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.
just insert one more line in your recipe like this.
INSANE_SKIP_${PN} = "installed-vs-shipped"
if your moving empty directory also just try to give any name for better .
Thanks & Regards
Aravind P
Quoted 104 lines · Jesus Jimenez Sanchez via lists.yoctoproject.org
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 <[email protected]> *Sent:* Wednesday 4 December 2024 16:53
*To:* [email protected] <[email protected]>; Jesus Jimenez Sanchez <[email protected]> *Subject:* RE: [yocto] Installing empty directoryYou don't often get email from [email protected]. 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:* [email protected] <[email protected]> *On Behalf Of *Jesus Jimenez Sanchez via lists.yoctoproject.org *Sent:* Wednesday, December 4, 2024 11:42 AM
*To:* [email protected]
*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 withindo_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/8556823
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-