Re: [OE-core] [PATCH] cmake.bbclass: Add ${COREBASE}/scripts to CMAKE_FIND_ROOT_PATH

2024-04-19 Thread Daniel Klauer
Hi, >> ${COREBASE}/scripts contains a "git" wrapper disabling fakeroot/pseudo. >> This patch allows CMake to find ${COREBASE}/scripts/git instead of >> ${HOSTTOOLS_DIR}/git. This is needed for git invocations during do_install, >> since do_install is a fakeroot task, and otherwise all git

Re: [OE-core] [PATCH] cmake.bbclass: Add ${COREBASE}/scripts to CMAKE_FIND_ROOT_PATH

2024-04-17 Thread Chuck Wolber
On Wed, Apr 17, 2024 at 12:14 Khem Raj via lists.openembedded.org wrote: > > > On Wed, Apr 17, 2024 at 4:25 AM Daniel Klauer via lists.openembedded.org > wrote: > >> ${COREBASE}/scripts contains a "git" wrapper disabling fakeroot/pseudo. >> This patch allows CMake to find

Re: [OE-core] [PATCH] cmake.bbclass: Add ${COREBASE}/scripts to CMAKE_FIND_ROOT_PATH

2024-04-17 Thread Khem Raj
On Wed, Apr 17, 2024 at 4:25 AM Daniel Klauer via lists.openembedded.org wrote: > ${COREBASE}/scripts contains a "git" wrapper disabling fakeroot/pseudo. > This patch allows CMake to find ${COREBASE}/scripts/git instead of > ${HOSTTOOLS_DIR}/git. This is needed for git invocations during

[OE-core] [PATCH] cmake.bbclass: Add ${COREBASE}/scripts to CMAKE_FIND_ROOT_PATH

2024-04-17 Thread Daniel Klauer
${COREBASE}/scripts contains a "git" wrapper disabling fakeroot/pseudo. This patch allows CMake to find ${COREBASE}/scripts/git instead of ${HOSTTOOLS_DIR}/git. This is needed for git invocations during do_install, since do_install is a fakeroot task, and otherwise all git commands fail with