[yocto] BB_NO_NETWORK and own-mirrors not working with meta-systemd
Evade Flow
evadeflow at gmail.com
Thu Sep 20 13:08:41 PDT 2012
To bring this full circle... if you want to build behind a restrictive
firewall using pre-mirrored sources and BB_NO_NETWORK, be aware that
recipes which:
1. Specify a git repo as the source, and,
2. Specify the revision to be built using a tag name
will cause your build to abort when bitbake tries to run 'git ls-remote'
to resolve the tag name. So don't specify SRC_URI like this:
SRC_URI = "git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git;protocol=git;tag=v${PV}"
Instead, use:
SRC_URI = "git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git;protocol=git;tag=8885ced062131214448fae056ef453f094303805;branch=master"
I added a note about this to the Wiki:
- http://wiki.yoctoproject.org/wiki/How_do_I#Non-networked_Builds_and_Cached_Git_Respositories
I'm still new to Yocto, so someone please chime in if any of this
information is incorrect...
More information about the yocto
mailing list