diff --git a/Fedora-40/fedora40_dev_entrypoint.sh b/Fedora-40/fedora40_dev_entrypoint.sh index 46d0d54..f9b77d9 100755 --- a/Fedora-40/fedora40_dev_entrypoint.sh +++ b/Fedora-40/fedora40_dev_entrypoint.sh @@ -40,6 +40,11 @@ useradd "${EDK2_DOCKER_USER}" -o -l -u "${user_uid}" -g "${user_gid}" \ echo "${EDK2_DOCKER_USER}":tianocore | chpasswd +# Adjust owner of the pre-initialized Python virtual env +if [ -d "${VIRTUAL_ENV}" ]; then + chown --recursive "${EDK2_DOCKER_USER}" "${VIRTUAL_ENV}" +fi + ##################################################################### # Cleanup variables unset user_uid