title: How to make /var/log persistent in Yocto Fido (poky)
body: <p>I'm trying to get <code>/var/log</code> to be persistent in my fido build.
  The default setting on poky is, that there is a symlink in <code>/var</code> which points <code>log -&gt; volatile/log</code>. <code>volatile</code> is a mounted on a tmpfs.</p>
  
  <p>So far i figured out that the symlink should be created by the <code>base-files</code> recipe:</p>
  
  <pre><code>volatiles = "log tmp"
  
  do_install () {
    ...
      for d in ${volatiles}; do
          ln -sf volatile/$d ${D}${localstatedir}/$d
      done
    ...
  </code></pre>
  
  <p>I appended the base-files recipe so the link was not created, but it still turned up in my rootfs. So where does it come from? I suspect that maybe the <code>fs-perms.txt</code> has something to do with it. But i tried to create one without the </p>
  
  <pre><code>${localstatedir}/log    link    volatile/log
  </code></pre>
  
  <p>line and it still created that link. Any clues?</p>