mirror of
https://git.yoctoproject.org/poky
synced 2026-02-06 16:56:37 +01:00
This fixes bash using its own broken getcwd() during cross compiling The configure script assumes that your getcwd() function is broken. Which then makes bash use it's own getcwd() implementation, which doesn't work if the path to the current directory contains bind mounts in its paths. This shows up as: Fixes errors on musl images like shell-init: error retrieving current directory: getcwd: cannot access parent directories: Bad file descriptor (From OE-Core rev: 2137f68f6e84b669b5aba8f12237f164f710dba2) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>