[yocto] Create empty directory in RFS

Yani Dubin yani.dubin at taitradio.com
Thu Sep 24 19:24:19 PDT 2015


On 25 September 2015 at 10:32, Edward Wingate <edwingate8 at gmail.com> wrote:
>
> How can I create an empty directory in my root FS?  I want to create
> /mnt/sd to use as a mount point.  I put "install -d ${D}/mnt/sd" in
> do_install() of one of my recipes, but I get:
>
> ERROR: QA Issue: my-recipe: Files/directories were installed but not shipped
>   /mnt
>   /mnt/sd [installed-vs-shipped]
>

That is correctly installing it, the QA issue is telling you that you
need to add the directory name to FILES_${PN} (for it to be
packaged/shipped, else it will not make it into the rootfs).

Regards,
Yani.




-- 
Yani Dubin
Senior Design Engineer
Tait Communications
DDI: +64-3-357-1565
Email: yani.dubin at taitradio.com


www.taitradio.com

-- 

------------------------------
This email, including any attachments, is only for the intended recipient. 
It is subject to copyright, is confidential and may be the subject of legal 
or other privilege, none of which is waived or lost by reason of this 
transmission.
If you are not an intended recipient, you may not use, disseminate, 
distribute or reproduce such email, any attachments, or any part thereof. 
If you have received a message in error, please notify the sender 
immediately and erase all copies of the message and any attachments.
Unfortunately, we cannot warrant that the email has not been altered or 
corrupted during transmission nor can we guarantee that any email or any 
attachments are free from computer viruses or other conditions which may 
damage or interfere with recipient data, hardware or software. The 
recipient relies upon its own procedures and assumes all risk of use and of 
opening any attachments.
------------------------------



More information about the yocto mailing list