summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-05-06 16:56:02 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-05-12 16:44:06 +0100
commitdb10b2623d582a00af2d0c544d5dd3611d2e0ab5 (patch)
tree9031ae6f4483a82b6501cf488c449912b029f981 /scripts
parent74522a6048c96eae41a856ef66cfffe6adb8ed98 (diff)
downloadpoky-db10b2623d582a00af2d0c544d5dd3611d2e0ab5.tar.gz
scripts: Make git intercept global
The previous minimially invasive git intercept simply isn't enough. For example, meson used in the igt-gpu-tools recipe hardcodes the path to git in the configure step so at install time, changing PATH has no effect. There are lots of interesting things we could do to try and avoid problems but making the git intercept and dropping fakeroot privs for git global is probably the least worst solution at this point. It will add slight overhead to git calls but we don't make many so the overall impact is likely minimal. (From OE-Core rev: 07f282fb94a5a7c0a3fad451c844e5b26074c744) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit af27c81eaf68ee681dcd9456a74cca6a9ab40bf6) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/git (renamed from scripts/git-intercept/git)0
1 files changed, 0 insertions, 0 deletions
diff --git a/scripts/git-intercept/git b/scripts/git
index 8adf5c9ecb..8adf5c9ecb 100755
--- a/scripts/git-intercept/git
+++ b/scripts/git