From 441369caa3d11703d0349d4b9746b7ad10aa6cb2 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 7 Nov 2022 15:22:09 +0000 Subject: gentoo auto-resync : 07:11:2022 - 15:22:08 --- eclass/Manifest.gz | Bin 37670 -> 37669 bytes eclass/git-r3.eclass | 5 +++++ 2 files changed, 5 insertions(+) (limited to 'eclass') diff --git a/eclass/Manifest.gz b/eclass/Manifest.gz index 322b813af153..f6a9bfa24ced 100644 Binary files a/eclass/Manifest.gz and b/eclass/Manifest.gz differ diff --git a/eclass/git-r3.eclass b/eclass/git-r3.eclass index 59d4f9a0038f..bdb28565e2f9 100644 --- a/eclass/git-r3.eclass +++ b/eclass/git-r3.eclass @@ -887,6 +887,11 @@ git-r3_checkout() { cp "${orig_repo}"/packed-refs "${GIT_DIR}"/packed-refs || die fi + # mark this directory as "safe" so that src_install() can access it + # https://bugs.gentoo.org/879353 + git config --global --add safe.directory \ + "$(cd "${out_dir}" && echo "${PWD}")" || die + # (no need to copy HEAD, we will set it via checkout) if [[ -f ${orig_repo}/shallow ]]; then -- cgit v1.2.3