Xilinx / yocto-manifests

Repo Manifests for the Yocto Project Build System
30 stars 35 forks source link

Clone steps failure for rel-v2023.2 #7

Open robamu opened 8 months ago

robamu commented 8 months ago

Following the steps for rel-v2023.2 fails, it tries to clone from a Xilinx internal repository.

Content of .gitmodules of meta-xilinx rel-v2023.2. I am not familiar with the repo tool. What is the easiest way to hotfix this, so my clone works?

[submodule "gen-machine-conf"]
    path = meta-xilinx-core/gen-machine-conf
    url = https://github.com/Xilinx/gen-machine-conf.git
    branch = xlnx_rel_v2023.2
robamu commented 8 months ago

For anyone stumbling upon this, until rel-v2024.1 gets released or there is a patched version of rel-v2023.2:

  1. Remove sync-s="true" from the manifest.xml file on the meta-xilinx line,. You can find the file in .repo/manifests after a failed sync command. Alternatively, fork this and patch the manifest.xml file directly.
  2. Go to sources/meta-xilinx
  3. git cherry-pick fd359f0 to apply https://github.com/Xilinx/meta-xilinx/commit/fd359f0cf8973aff3fa46cd43111e093fbad26a1
  4. git submodule init && git submodule update