summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorJeremy Puhlman <jpuhlman@mvista.com>2020-03-27 15:23:16 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-03-29 20:04:10 +0100
commitd349d7bb68e3d7411562ca137080680ae3ad0c1a (patch)
tree69cab305576892e43bea318e68f39904f257f710 /meta/recipes-devtools
parentf7bde5f06a3ff810faf40a2ba8cac85b83351b06 (diff)
downloadpoky-d349d7bb68e3d7411562ca137080680ae3ad0c1a.tar.gz
nativesdk-git: point to system gitconfig
On a system with selinux turned on, trying to access a directory that is in a tree that doesn't exist returns the error permission denined rather then no such file or directory, which causes git to die. git clone git://git.yoctoproject.org/poky Cloning into 'poky'... fatal: unable to access '/opt/poky/3.0+snapshot/sysroots/x86_64-pokysdk-linux/etc/gitconfig': Permission denied Switch to using the system gitconfig of the host. (From OE-Core rev: 5e44fb4dd106e3c4b9f072b25a93e54fa7bb1bce) Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/git/git.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/git/git.inc b/meta/recipes-devtools/git/git.inc
index 95ab397f6a..4131c98977 100644
--- a/meta/recipes-devtools/git/git.inc
+++ b/meta/recipes-devtools/git/git.inc
@@ -22,6 +22,7 @@ PACKAGECONFIG[svn] = ""
22EXTRA_OECONF = "--with-perl=${STAGING_BINDIR_NATIVE}/perl-native/perl \ 22EXTRA_OECONF = "--with-perl=${STAGING_BINDIR_NATIVE}/perl-native/perl \
23 --without-tcltk \ 23 --without-tcltk \
24" 24"
25EXTRA_OECONF_append_class-nativesdk = " --with-gitconfig=/etc/gitconfig "
25 26
26# Needs brokensep as this doesn't use automake 27# Needs brokensep as this doesn't use automake
27inherit autotools-brokensep perlnative bash-completion 28inherit autotools-brokensep perlnative bash-completion