From d349d7bb68e3d7411562ca137080680ae3ad0c1a Mon Sep 17 00:00:00 2001 From: Jeremy Puhlman Date: Fri, 27 Mar 2020 15:23:16 -0700 Subject: 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 Signed-off-by: Richard Purdie --- meta/recipes-devtools/git/git.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-devtools/git') 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] = "" EXTRA_OECONF = "--with-perl=${STAGING_BINDIR_NATIVE}/perl-native/perl \ --without-tcltk \ " +EXTRA_OECONF_append_class-nativesdk = " --with-gitconfig=/etc/gitconfig " # Needs brokensep as this doesn't use automake inherit autotools-brokensep perlnative bash-completion -- cgit v1.2.3-54-g00ecf