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