diff options
author | Frederic Martinsons <frederic.martinsons@gmail.com> | 2023-03-15 08:48:51 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-03-16 17:49:38 +0000 |
commit | 0b937af08cc172589083fdae41f1c301059010c9 (patch) | |
tree | 55bc98e07033e2ae4bdfb6e83dc919ff31e8dc85 /scripts/lib/scriptpath.py | |
parent | 39594c12fcdb56193bbbc481b11fd203495b92ab (diff) | |
download | poky-0b937af08cc172589083fdae41f1c301059010c9.tar.gz |
cargo.bbclass: use offline mode for building
There should not be any network access during the build step so
specify this explicitely to cargo.
This will allow better error message, e.g:
| Caused by:
| can't checkout from 'ssh://git@.../fmartinsons/zbus-git-dep-test.git': you are in the offline mode (--offline)
Instead of
| Updating git repository `ssh://git@.../fmartinsons/zbus-git-dep-test.git`
| warning: spurious network error (2 tries remaining): failed to resolve address for gitlab.com: Temporary failure in name resolution;class=Net (12)
(From OE-Core rev: 8e9ec03c73e8c09e223d6f6cce297df363991350)
Signed-off-by: Frederic Martinsons <frederic.martinsons@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptpath.py')
0 files changed, 0 insertions, 0 deletions