From: Gary Thomas <gary@mlbassoc.com>
To: Poky Project <poky@yoctoproject.org>
Subject: Issue with git fetcher
Date: Thu, 18 Oct 2012 10:37:49 -0600 [thread overview]
Message-ID: <5080305D.2060001@mlbassoc.com> (raw)
I like to run Poky/Yocto with a pre-populated source cache,
built up over time, and rely on BB_NO_NETWORK to tell me
when stuff actually needs to come from the network. This
works quite well - only when there is a new/changed recipe
do I have to relax BB_NO_NETWORK and once I've built the
offending recipe, I save the sources (I also use BB_GENERATE_MIRROR_TARBALLS="1")
back to my source cache.
I ran across an issue with this with a recipe I imported from
meta-openembedded/meta-oe. It contained these lines:
SRCREV = "2fb4be9a99a2c2a9435339830e3d940171cc0d9b"
SRC_URI = "git://git.libav.org/libav.git;protocol=git;branch=release/0.8"
So, the first time I built it without BB_NO_NETWORK, then I saved
the resulting tar file. However, when I tried to build it again,
this time in a new build tree with BB_NO_NETWORK set, it failed!
I went looking through the tar file (just a bare clone of the git tree)
and found that the revision in question was not there.
The only thing I could see that's unique about this recipe is the
'branch=release/0.8'. To see if this was the issue, I removed it
and replayed the whole process (rebuilding the tar file) & now fetch
works even with BB_NO_NETWORK :-)
Is this expected, or is it a bug?
n.b. I hammer on this functionality as I have to deliver fixed source
packages to customers (some of whom may not have easy network access,
some who just want to know what they are getting/using), so I rely
on being able to build with BB_NO_NETWORK set.
Thanks
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
next reply other threads:[~2012-10-18 16:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-18 16:37 Gary Thomas [this message]
2012-10-18 16:39 ` Issue with git fetcher McClintock Matthew-B29882
2012-10-18 16:41 ` Burton, Ross
2012-10-18 16:44 ` Gary Thomas
2012-10-18 17:43 ` Martin Jansa
2012-10-18 19:06 ` Ross Burton
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=5080305D.2060001@mlbassoc.com \
--to=gary@mlbassoc.com \
--cc=poky@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.