foreman-packaging icon indicating copy to clipboard operation
foreman-packaging copied to clipboard

Copy gitconfig into build container

Open ehelms opened this issue 1 year ago • 3 comments

This makes running update commands inside the container work.

ehelms avatar Feb 01 '24 16:02 ehelms

This doesn't handle ~/.config/git/config. Would this also work if the file doesn't exist?

Are you asking if we could use that path instead? or also mount it?

ehelms avatar Feb 02 '24 02:02 ehelms

Mostly wondering what happens if you attempt to mount a location that doesn't exist

ekohl avatar Feb 02 '24 08:02 ekohl

Mostly wondering what happens if you attempt to mount a location that doesn't exist

It will yell at you:

Error: statfs /home/ehelms/.config/git/config: no such file or directory

ehelms avatar Feb 02 '24 13:02 ehelms