From: Lars Larsen <lars@visionweeding.com>
To: yocto@yoctoproject.org
Subject: Manipulating code and Building in offline environment
Date: Wed, 27 Apr 2016 13:38:26 +0200 [thread overview]
Message-ID: <5720A4B2.2060509@visionweeding.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1317 bytes --]
Hello
I have 2 questions
I have finally managed to build an image like I want it.
I consists of a kernel.
The ROS framework.
And our proprietary software under git control
What I want to achieve is the following:
When online it should fetch the latest commit (or what ever branch/tag)
from our git repo.
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.
When online in our office environment all our own software is correctly
checked out from our git repo. and build. Beautifully.....
But when offline ( I disconnect the LAN ) I continually gets errors like
“Failure expanding variable SRCPV” on our software modules.
I have following in build/conf/local.conf
BB_GENERATE_MIRROR_TARBALLS = "1"
INHERIT += "own-mirrors"
SOURCE_MIRROR_URL = "file://${DL_DIR}"
and I experimented with BB_FETCH_PREMIRRORONLY = "1"
with no appearent effect
So question 1:
How do I achieve the offline building. ?
Is should be possible - right ?
Question 2:
Where in the tree is the checked out source code located, that bitbake
compiles from.
Kind regards
Lars Larsen
[-- Attachment #2: Type: text/html, Size: 3814 bytes --]
next reply other threads:[~2016-04-27 11:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-04-27 11:38 Lars Larsen [this message]
2016-04-27 12:21 ` Manipulating code and Building in offline environment Gary Thomas
2016-04-27 13:03 ` Lars Larsen
2016-04-27 14:14 ` Burton, Ross
2016-04-29 20:45 ` Khem Raj
2016-09-22 18:23 ` yocto linux syslinux and intramfs Lars Larsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5720A4B2.2060509@visionweeding.com \
--to=lars@visionweeding.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.