diff options
author | Chris Evich <cevich@redhat.com> | 2022-04-26 14:38:43 -0400 |
---|---|---|
committer | Chris Evich <cevich@redhat.com> | 2022-04-27 12:13:54 -0400 |
commit | 9c0c29f0861fea4ac3c76e6c1314e2b44582f3ab (patch) | |
tree | ed32277d4c8c78fbf0f51283f71801508fea8c11 /contrib/cirrus/required_host_ports.txt | |
parent | d4e30b33a167dd02ba097aa4dfd1e7a4c1776a0a (diff) | |
download | podman-9c0c29f0861fea4ac3c76e6c1314e2b44582f3ab.tar.gz podman-9c0c29f0861fea4ac3c76e6c1314e2b44582f3ab.tar.bz2 podman-9c0c29f0861fea4ac3c76e6c1314e2b44582f3ab.zip |
Cirrus: Fix ownership of repos. to keep git happy
Newer versions of git are much more pedantic about who owns the
repository files. When setting up to run rootless, prior to this
commit, the repo. ownership was changed from root. This causes
all subsequent git-operations as root to fail:
```
fatal: unsafe repository ('<$GOSRC>' is owned by someone else)
```
Fix this by re-ordering operations, such that the change in ownership is
done immediately before executing as a user. Also disable the
git-ownership check on the source repository assuming the CI environment
is disposable.
Signed-off-by: Chris Evich <cevich@redhat.com>
Diffstat (limited to 'contrib/cirrus/required_host_ports.txt')
0 files changed, 0 insertions, 0 deletions