]> git.ipfire.org Git - thirdparty/libvirt.git/commit
ci: integration: Set 'safe.directory' when installing QEMU from git
authorErik Skultety <eskultet@redhat.com>
Tue, 7 Jun 2022 12:51:14 +0000 (14:51 +0200)
committerErik Skultety <eskultet@redhat.com>
Thu, 9 Jun 2022 11:38:17 +0000 (13:38 +0200)
commitd1e324767517ce7e3514737bf8dd5b2eb1decc03
tree6ab05090c43bea8c8e75a86265434f6bc77f8a3f
parent3b943f0c4399a7079b229cd9da84b564970a67c2
ci: integration: Set 'safe.directory' when installing QEMU from git

Since a fix for CVE-2022-24765 was released every git command is now
checked against the context repo in which it's supposed to run
resulting in a fatal error if the repo is owned by other user than the
one running the git command.
This means that in order to be able to do 'sudo make install', we have
to set the 'safe.directory' for the root user. This is because QEMU
runs 'git submodule update' automatically on 'make install'.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
ci/integration-template.yml