debugging

This commit is contained in:
David Murphy 2024-09-20 09:47:04 -06:00
parent ae440cb321
commit 7c6a4a0da7
No known key found for this signature in database
GPG key ID: 9D7724F37A7424D8

View file

@ -1238,6 +1238,7 @@ __gather_linux_system_info() {
esac
DISTRO_NAME=$n
DISTRO_VERSION=$v
echodebug "Linux distro '${DISTRO_NAME}', distro version '${DISTRO_VERSION}'"
break
done
}
@ -1250,6 +1251,7 @@ __gather_linux_system_info() {
__gather_osx_system_info() {
DISTRO_NAME="MacOSX"
DISTRO_VERSION=$(sw_vers -productVersion)
echodebug "MacOS distro '${DISTRO_NAME}', distro version '${DISTRO_VERSION}'"
}
@ -2742,6 +2744,13 @@ EOM
echoinfo "Installing Built Salt Wheel"
${_pip_cmd} uninstall --yes ${_USE_BREAK_SYSTEM_PACKAGES} salt 2>/dev/null || true
if [ "${DISTRO_NAME}" = "Arch Linux" ]; then
_arch_dep="cryptography==42.0.0"
echodebug "Running '${_pip_cmd} --force-reinstall --break-system-packages ${_arch_dep}'"
${_pip_cmd} --force-reinstall --break-system-packages "${_arch_dep}"
fi
echodebug "Running '${_pip_cmd} install ${_USE_BREAK_SYSTEM_PACKAGES} --no-deps --force-reinstall ${_PIP_INSTALL_ARGS} /tmp/git/deps/salt*.whl'"
${_pip_cmd} install ${_USE_BREAK_SYSTEM_PACKAGES} --no-deps --force-reinstall \
@ -5734,10 +5743,6 @@ install_arch_linux_git_deps() {
CONFIG_SALT_FUNC="config_salt"
fi
_arch_dep="cryptography==42.0.0"
echodebug "Running '${_PY_EXE} -m pip install --break-system-packages --upgrade ${_arch_dep}'"
${_PY_EXE} -m pip install --upgrade "${_arch_dep}"
return 0
}