We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents de89a3a + fddb484 commit 8a82514Copy full SHA for 8a82514
ci/install-dependencies.sh
@@ -61,6 +61,15 @@ ubuntu-*|i386/ubuntu-*|debian-*)
61
libsecret-1-dev libpcre2-dev meson ninja-build pkg-config \
62
${CC_PACKAGE:-${CC:-gcc}} $PYTHON_PACKAGE
63
64
+ # Starting with Ubuntu 25.10, sudo can now be provided via either
65
+ # sudo(1) or sudo-rs(1), with the latter being the default. The problem
66
+ # is that it does not support `--preserve-env` though, which we rely on
67
+ # in our CI. We thus revert back to the C implementation.
68
+ if test -f /etc/alternatives/sudo
69
+ then
70
+ sudo update-alternatives --set sudo /usr/bin/sudo.ws
71
+ fi
72
+
73
case "$distro" in
74
ubuntu-*)
75
mkdir --parents "$CUSTOM_PATH"
0 commit comments