title: How to install recursively my directories and files in BitBake recipe
body: <p>I would like to install/copy all my directories and files recursively from working directory to my target package rootfs on yocto build system.
  I tried the solution provided by Tobias Bystricky in  </p>
  
  <p><a href="https://stackoverflow.com/questions/31817222/how-to-install-directory-structure-recursively-in-openembedded-bitbake-recipe/39979123#39979123">How to install directory structure recursively in OpenEmbedded BitBake recipe?</a></p>
  
  <p>but I faced "No such file or directory" error</p>
  
  <p>I did , </p>
  
  <pre><code>install -d ${D}${sysconfdir}/xxx/
  install -d ${D}${sysconfdir}/xxx/yyy
  install -d ${D}${sysconfdir}/xxx/yyy/zzz
  install -d ${D}${sysconfdir}/xxx/yyy/zzz/kkk
  find ${WORKDIR}/xxx/yyy/zzz/kkk/ -type f -exec 'install -m 0755 "{}" ${D}${sysconfdir}/xxx/yyy/zzz/kkk/' \; 
  </code></pre>
  
  <p>Error message is ,</p>
  
  <blockquote>
    <p>find: `install -m 0755 / "Path to working
    dir" /xxx/yyy/zzz/kkk/test_file.txt / "Path to all
    packages" / "MyPackage" /image/etc/xxx/yyy/zzz/kkk/': No such file or
    directory</p>
  </blockquote>
  
  <p>I checked &amp; confirmed that exact working directory path &amp; Package directory paths are present. please let me know if i am missing any.</p>
  
  <p>please suggest if any other way.</p>