<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <br>
    <br>
    I manage to solve it, with a not so elegant solution<br>
    I any one has an "authorized" solution please let me know<br>
    <br>
    in my local .conf I have<br>
    <br>
    INHERIT += "rootfsdebugfiles"<br>
    <br>
    <br>
    ROOTFS_DEBUG_FILES += "\<br>
    ${TOPDIR}/[path to file]/sektionnumber.dat
    ${ISODIR}/sektionnumber.dat; \<br>
    ${TOPDIR}/[path to file]/sektionnumber.dat
    ${HDDDIR}/sektionnumber.dat; \<br>
    "<br>
    <br>
    -Lars<br>
    <br>
    <div class="moz-cite-prefix">On 2016-10-26 15:22, Lars Larsen wrote:<br>
    </div>
    <blockquote cite="mid:5810ADFC.2000309@visionweeding.com"
      type="cite">
      <meta http-equiv="content-type" content="text/html;
        charset=windows-1252">
      Hello yocto world<br>
      <br>
      I have a recipe that produce an ISO image and a hddimg image.<br>
      I need to add a file to the boot media root, alongside rootfs.img
      and intrd  - so it is NOT a part of the rootfs<br>
      <br>
      <br>
      inspired by bootimg.bbclass, I tried to add the following recipe
      to my build<br>
      <br>
      <br>
      <i>DESCRIPTION = "Provide a sektionnumber.dat file on bootmedia
        (ISO and hdd)"</i><i><br>
      </i><i><br>
      </i><i>LICENSE = "CLOSED"</i><i><br>
      </i><i>BRANCH ?= "develop"</i><i><br>
      </i><i>SRC_URI =<a moz-do-not-send="true"
          class="moz-txt-link-rfc2396E" href="file://sektionnumber.dat;">"file://sektionnumber.dat;"</a></i><i><br>
      </i><i>FILESEXTRAPATHS_prepend := "${THISDIR}/files:" </i><i><br>
      </i><i><br>
      </i><i><br>
      </i><i>do_bootimg_prepend(){</i><i><br>
      </i><i>    install -d ${ISODIR}</i><i><br>
      </i><i>    install -m 0644 "${THISDIR}/files/sektionnumber.dat
        ${ISODIR}/sektionnumber.dat</i><i><br>
      </i><i>      install -d ${HDDDIR}</i><i><br>
      </i><i>   install -m 0644 "${THISDIR}/files/sektionnumber.dat
        ${HDDDIR}/sektionnumber.dat</i><i><br>
      </i><i>}<br>
        <br>
      </i>but it is not recognized<br>
      <br>
      any suggestions ?<br>
      BR Lars<br>
      <br>
      <br>
      <pre class="moz-signature" cols="72">-- 

Best Regards
Lars Larsen 

F.Poulsen Engineering Aps
Tjørnager 16
4330 Hvalsø
Denmark
+45 29802784
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.visionweeding.com">www.visionweeding.com</a>

</pre>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 

Best Regards
Lars Larsen 

F.Poulsen Engineering Aps
Tjørnager 16
4330 Hvalsø
Denmark
+45 29802784
<a class="moz-txt-link-abbreviated" href="http://www.visionweeding.com">www.visionweeding.com</a>

</pre>
  </body>
</html>