[yocto] Installing a directory tree of files into the target filesystem

Joe Nicholson joe at joenicholson.co.uk
Wed Jul 9 08:19:40 PDT 2014


 

Thanks Adam. 

I don't have any major permissions issues either, so will definitely try
that. I assume I could just explicitly set the permissions on the target
directory as a later step in do_install if needed. 

Thanks also for the link. 

Cheers! 

Joe 

On 2014-07-09 14:56, Adam Hughes wrote: 

> Hi Joe,
> 
>> First post on here :-)
> 
> My first post too.
> 
>> I'd like to create a recipe that copies a whole directory tree of files into a directory on the output filesystem.
> 
> I faced the same problem, and resorted to "cp -r" (after making sure the directory was there using "install -d"). In my case, I didn't need to mess with permissions so I didn't need to full power of install.
> 
> See http://superuser.com/questions/229883/how-is-install-c-different-from-cp [1] for a bit more chapter and verse.
> 
> Cheers,
> 
> Adam

 

Links:
------
[1]
http://superuser.com/questions/229883/how-is-install-c-different-from-cp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20140709/4c54729d/attachment.html>


More information about the yocto mailing list