Fixed
Created: Apr 8, 2024
Updated: Jul 21, 2024
Resolved Date: Jul 10, 2024
Found In Version: 10.22.33.14
Fix Version: 10.22.33.17
Severity: Standard
Applicable for: Wind River Linux LTS 22
Component/s: Documentation
1) Prepare the mirror server
$ git clone --branch WRLINUX_10_22_LTS [http://lxgit.wrs.com/release/WRL10_22/WRLinux-lts-22-Core/wrlinux-x/]
You can use windshare to replace lxgit.wrs.com/release
$ ./wrlinux-x/setup.sh --all-layers --dl-layers --mirror -mp
$ ./wrlinux-x/bin/flatten_mirror.py ../project-flat-server --strip-git
Since you don't want to upload it to a server, so now the server side is done. Please check steps in above comments if you want to upload to a server.
2) Client
$ git clone /path/to/project-flat-server/wrlinux-x --branch WRLINUX_10_22_LTS
$ ./wrlinux-x/setup.sh --all-layers -mp
$ cd layers/oe-core/bitbake
$ git am /path/to/0001-fetch2-git.py-Try-without-.git-suffix-firstly.patch
I will send a patch to fix it in next RCPL, the above apply patch steps will not be needed in next RCPL.
$ . environment-setup-x86_64-wrlinuxsdk-linux && . oe-init-build-env
$ bitbake world --runall=fetch
There were do_fetch errors before, now the issue is fixed.
By using --dl-layers on the local install the download issue dissapears:
./wrlinux-x/setup.sh --machines qemux86-64 --dl-layers
I am using a mirror on a build server. The mirror is created using LTS21 RCPL0014. The setup line used for the mirror:
wrlinux-x/setup.sh --mirror --all-layers --dl-layers
Next I create a local install based on the mirror according to documentation:
git clone --branch WRLINUX_10_21_LTS_RCPL0014 /wr/installs/wrl-21-mirror/wrlinux-x
./wrlinux-x/setup.sh --machines qemux86-64
. ./environment-setup-x86_64-wrlinuxsdk-linux
. ./oe-init-build-env
bitbake curl
This results in download error messages:
ERROR: m4-native-1.4.18-r0 do_fetch: Network access disabled through BB_NO_NETWORK (or set indirectly due to use of BB_FETCH_PREMIRRORONLY) but access requested with command /usr/bin/env wget -t 2 -T 30 --passive-ftp --no-check-certificate -P /opt/tholmber/lts21-local/build/downloads 'https://ftp.gnu.org/gnu/m4/m4-1.4.18.tar.gz' (for url [https://ftp.gnu.org/gnu/m4/m4-1.4.18.tar.gz)]
This is exactly according to documentation, see [https://docs.windriver.com/bundle/Wind_River_Linux_Getting_Started_LTS_21_tki1589820771450/page/got1630359443763.html]