<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Your layer appears to only be adding a new recipe. It won't be built
    unless you tell it to be built, or you build something that depends
    on it, or you add it to the image you're building.<br>
    So your options are:<br>
    bitbake example<br>
    add IMAGE_INSTALL_append = " example" to your local.conf<br>
    have another recipe that requires example, and build or add that to
    your image.<br>
    <br>
    ---<br>
    Cal<br>
    <br>
    <div class="moz-cite-prefix">On 10/02/2017 04:05 PM, Mark Hieber
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAPxJQ9H-ZJBm1Ns3Sj8LOjp-RgZT=cqcHFrhy9782VVWoau1fg@mail.gmail.com">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <div dir="ltr">sorry, fat-fingered send<br>
        <br>
        Anyway, I created this layer. I had it create a default recipe,
        I looked at all the files, they all seem to be correct. I then
        ran<br>
        <br>
        source oe-init-build-env<br>
        <br>
        and then edited build/conf/bblayers.conf, it has<br>
        <br>
        BBLAYERS ?= " \<br>
        <br>
        Â  /yocto/poky/meta \<br>
        <br>
        Â  /yocto/poky/meta-poky \<br>
        <br>
        Â  /yocto/poky/meta-yocto-bsp \<br>
        <br>
        Â  /yocto/poky/meta-mylayer \<br>
        <br>
        Â  "<br>
        <br>
        <br>
        I then ran "bitbake core-image-minimal" and then ran "runqemu
        qemux86 nographic" <br>
        Inside qemu, I did a 'find / -name "hello*"' and got nothing.
        Also, when I ran bitbake, it said <br>
        <br>
        #/yocto/poky/build$ bitbake core-image-minimal<br>
        Loading cache: 100%
|#############################################################################################################################################################################|
        Time: 0:00:00<br>
        Loaded 1302 entries from dependency cache.<br>
        NOTE: Resolving any missing task queue dependencies<br>
        <br>
        Build Configuration:<br>
        BB_VERSION Â  Â  Â  Â = "1.34.0"<br>
        BUILD_SYS Â  Â  Â  Â  = "x86_64-linux"<br>
        NATIVELSBSTRING Â  = "universal"<br>
        TARGET_SYS Â  Â  Â  Â = "i586-poky-linux"<br>
        MACHINE Â  Â  Â  Â  Â  = "qemux86"<br>
        DISTRO Â  Â  Â  Â  Â  Â = "poky"<br>
        DISTRO_VERSION Â  Â = "2.3.2"<br>
        TUNE_FEATURES Â  Â  = "m32 i586"<br>
        TARGET_FPU Â  Â  Â  Â = ""<br>
        meta Â  Â  Â  Â  Â  Â  Â <br>
        meta-poky Â  Â  Â  Â  <br>
        meta-yocto-bsp Â  Â <br>
        meta-mylayer Â  Â  Â =
        "pyro:717303e6fbcbbe181ad9645d762eb5a85d934523"<br>
      </div>
    </blockquote>
    <blockquote type="cite"
cite="mid:CAPxJQ9H-ZJBm1Ns3Sj8LOjp-RgZT=cqcHFrhy9782VVWoau1fg@mail.gmail.com">
      <div dir="ltr">Initialising tasks: 100%
|########################################################################################################################################################################|
        Time: 0:00:04<br>
        NOTE: Executing SetScene Tasks<br>
        NOTE: Executing RunQueue Tasks<br>
        NOTE: Tasks Summary: Attempted 2426 tasks of which 2426 didn't
        need to be rerun and all succeeded.<br>
        <br>
        It seems to me that yocto is NOT picking up my new layer. I am
        sure that I have missed something, but I read the docs 3 times,
        and can't find anything I missed.
        <div><br>
        </div>
        <div>Thanks for your help,</div>
        <div><br>
        </div>
        <div>Mark<br>
          <br>
          On Mon, Oct 2, 2017 at 3:58 PM, Mark Hieber <<a
            href="mailto:hieberm@gmail.com" moz-do-not-send="true">hieberm@gmail.com</a>>
          wrote:<br>
          ><br>
          > Hi, I am just starting out with yocto, and I have an
          issue. I followed the steps in <a
href="http://www.yoctoproject.org/docs/2.3.2/mega-manual/mega-manual.html#creating-a-general-layer-using-the-yocto-layer-script"
            moz-do-not-send="true">http://www.yoctoproject.org/docs/2.3.2/mega-manual/mega-manual.html#creating-a-general-layer-using-the-yocto-layer-script</a>,<br>
          > create meta-mylayer (in the /yocto/poky directory),<br>
          ><br>
          > #/yocto/poky tree meta-mylayer/<br>
          ><br>
          > meta-mylayer/<br>
          ><br>
          > â”œâ”€â”€ conf<br>
          ><br>
          > â”‚ Â  â””── layer.conf<br>
          ><br>
          > â”œâ”€â”€ COPYING.MIT<br>
          ><br>
          > â”œâ”€â”€ README<br>
          ><br>
          > â””── recipes-example<br>
          ><br>
          > Â  Â  â””── example<br>
          ><br>
          > Â  Â  Â  Â  â”œâ”€â”€ example-0.1<br>
          ><br>
          > Â  Â  Â  Â  â”‚ Â  â”œâ”€â”€ example.patch<br>
          ><br>
          > Â  Â  Â  Â  â”‚ Â  â””── helloworld.c<br>
          ><br>
          > Â  Â  Â  Â  â””── <a href="http://example_0.1.bb"
            moz-do-not-send="true">example_0.1.bb</a><br>
          ></div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
    </blockquote>
    <br>
  </body>
</html>