nativesdk-git: point to system gitconfig
PATCH 1/1 nativesdk-git: point to system gitconfig
From: Jeremy Puhlman <[email protected]>
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.
Signed-off-by Jeremy Puhlman <[email protected]>
--- meta/recipes-devtools/git/git.inc | 1 + 1 file changed, 1 insertion(+)
meta/recipes-devtools/git/git.inc +1 -0
@@ -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
Signature · 1 line
2.20.1