<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <p style="margin-bottom: 0in; line-height: 100%">Hello</p>
    <p style="margin-bottom: 0in; line-height: 100%">I have 2 questions</p>
    <p style="margin-bottom: 0in; line-height: 100%">I have finally
      managed to build an image like I want it.</p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
      I consists of a kernel.</p>
    <p style="margin-bottom: 0in; line-height: 100%">The ROS framework.</p>
    <p style="margin-bottom: 0in; line-height: 100%">And our proprietary
      software under git control</p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
      What I want to
      achieve is the following:</p>
    <p style="margin-bottom: 0in; line-height: 100%">When online it
      should fetch the latest commit (or what ever branch/tag) from our
      git
      repo.</p>
    <p style="margin-bottom: 0in; line-height: 100%">It should be
      possible to take a laptop with a fresh checkout of all the
      software,
      go to the field where the is NO INTERNET access, and be able to
      patch
      our code on the spot ,and build fresh images, for the target.</p>
    <p style="margin-bottom: 0in; line-height: 100%">When online in our
      office environment all our own software is correctly checked out
      from
      our git repo. and build. Beautifully..... </p>
    <p style="margin-bottom: 0in; line-height: 100%">But when offline (
      I
      disconnect the LAN ) I continually gets errors like â€œFailure
      expanding
      variable SRCPV” on our software modules.</p>
    <p style="margin-bottom: 0in; line-height: 100%">I have following in
      build/conf/local.conf</p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%">BB_GENERATE_MIRROR_TARBALLS
=
      "1"</p>
    <p style="margin-bottom: 0in; line-height: 100%">INHERIT +=
      "own-mirrors" </p>
    <p style="margin-bottom: 0in; line-height: 100%">SOURCE_MIRROR_URL =
      <a class="moz-txt-link-rfc2396E" href="file://${DL_DIR}">"file://${DL_DIR}"</a></p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%">and I experimented
      with BB_FETCH_PREMIRRORONLY = "1"</p>
    <p style="margin-bottom: 0in; line-height: 100%">with no appearent
      effect</p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%">So question 1:</p>
    <p style="margin-bottom: 0in; line-height: 100%">How do I achieve
      the
      offline building. ? </p>
    <p style="margin-bottom: 0in; line-height: 100%">Is should be
      possible - right ?</p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
      Question 2:</p>
    <p style="margin-bottom: 0in; line-height: 100%">Where in the tree
      is
      the checked out source code located, that bitbake compiles from.</p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <p style="margin-bottom: 0in; line-height: 100%">Kind regards</p>
    <p style="margin-bottom: 0in; line-height: 100%">Lars Larsen</p>
    <p style="margin-bottom: 0in; line-height: 100%"><br>
    </p>
    <title></title>
    <meta name="generator" content="LibreOffice 4.2.8.2 (Linux)">
    <style type="text/css">
        <!--
                @page { margin: 0.79in }
                p { margin-bottom: 0.1in; line-height: 120% }
                a:link { so-language: zxx }
        -->
        </style>
  </body>
</html>