From: Richard Purdie Date: Fri, 6 May 2022 15:56:02 +0000 (+0100) Subject: scripts: Make git intercept global X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~4171 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af27c81eaf;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Richard Purdie --- diff --git a/scripts/git-intercept/git b/scripts/git similarity index 100% rename from scripts/git-intercept/git rename to scripts/git