4cb3346fec
The recent git ownership-checking changes (see related bug for full details) mean we can not run git in non-owned directories. We have a couple of cases here where we have done a "pushd" to work in the REPO_DEST context; this is the destination directory that is inside the chroot so needs to be operated on as "root" (via sudo calls). This certainly makes sense -- but given the new way of things it can hide what context each call is working in, which is now very important. Previously this worked because you could read it; now it's doing the UID check too, calls in here without sudo now fail. Remvoe the pushd's and make every call that works in REPO_DEST explicit with -C, and add sudo calls around it. Change-Id: Id1f6bd94c9c77ef6ab2b562a7e0bc48f749c58ac Related-Bug: https://bugs.launchpad.net/devstack/+bug/1968798 |
||
---|---|---|
.. | ||
98-source-repositories |