On Mon, Jul 27, 2020, at 12:38 AM, Amrun Nisha.R wrote:
> Hi Fred,
> 
> check whether the downloads folder has all the files. I found that while 
> checking the folders, I can't able to find the branches and ref folders in 
> the git2 folder (downloads/git2). Once i placed the empty folders branch and 
> ref, it works fine for me. And I didnt update on the config file. 
> -=-=-=-=-=-=-=-=-=-=-=-
> 

https://www.yoctoproject.org/docs/2.7.4/mega-manual/mega-manual.html#replicating-a-build-offline

The downloads folder that I used to setup the pre-mirror didn't even contain 
the git2 folder.  From the directions:
*Optionally Remove Any Git or other SCM Subdirectories From the Downloads 
Directory:* If you want, you can clean up your downloads directory by removing 
any Git or other Source Control Management (SCM) subdirectories such as 
`${DL_DIR}/git2/*`. The tarballs already contain these subdirectories.

FYI, the documentation states for DL_DIR:
By default, `DL_DIR` gets files suitable for mirroring for everything except 
Git repositories. If you want tarballs of Git repositories, use the 
`BB_GENERATE_MIRROR_TARBALLS` 
<https://www.yoctoproject.org/docs/2.7.4/mega-manual/mega-manual.html#var-BB_GENERATE_MIRROR_TARBALLS>
 variable.

All I can say is that following these directions for replicating the build 
offline worked.
When skipping any of the steps I saw similar errors like the one in the 
original post.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#50099): https://lists.yoctoproject.org/g/yocto/message/50099
Mute This Topic: https://lists.yoctoproject.org/mt/75676959/21656
Mute #yocto: https://lists.yoctoproject.org/g/yocto+yocto/mutehashtag/yocto
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to