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

Adam Hughes Adam.Hughes at polatis.com
Wed Jul 9 06:56:14 PDT 2014


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 for a bit more chapter and verse.

Cheers,

Adam



More information about the yocto mailing list