We have been successfully doing custom builds for EOS 4.0. I tried doing the same build for 5.0 and got the following error message:
fatal: detected dubious ownership in repository at ‘/sysroot/home/owner/eos-image-builder’
To add an exception for this directory, call:
git config --global --add safe.directory /sysroot/home/owner/eos-image-builder
I tried the recommended git command end then reexecuted the command:
sudo ./eos-image-builder eos5.0 --personality en --use-production-ostree
with the same result.
Note when I did the original checkout, I executed:
git checkout eos5.0
Any guidance on what to try next?