]> code.ossystems Code Review - openembedded-core.git/commit
nativesdk-git: point to system gitconfig
authorJeremy Puhlman <jpuhlman@mvista.com>
Fri, 27 Mar 2020 22:23:16 +0000 (15:23 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 29 Mar 2020 19:03:30 +0000 (20:03 +0100)
commit5e44fb4dd106e3c4b9f072b25a93e54fa7bb1bce
tree922a906a7e186aca666320cb85d6395935f74e16
parentb199a9dbc3440d7c4fad8d8baeea931a6b7381c1
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.

Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/git/git.inc