title: Yocto add an overlay directory tree
body: <p>To keep all the files organized, I created on the dev machine an "overlay" directory structure that contains the files I want to substitute in the target rootfs. For example:</p>
  
  <pre><code>etc/
      apache2/
          httpd.conf
          conf.d/
              php.conf
  </code></pre>
  
  <p>My goal is to copy the whole "overlay" tree into the generated rootfs before the image is generated.
  Is it possible to do in Yocto?</p>
  
  <p>I did some searches but I found a lot of resources that talk about how to overlay a device tree, but it's not what I'm looking for. Perhaps in the Yocto jargon it's called otherwise.</p>