ci/android: add sudo to EPHEMERAL deps for debian/x86_64_test-android.sh
The ./tools/buildutils/build_packages.sh script used by the android-cuttlefish project built in debian/x86_64_test-android.sh uses sudo, so install that as an EPHEMERAL dependency. Also set SUDO_FORCE_REMOVE=yes when removing sudo to avoid some errors. Reviewed-by: Eric Engestrom <None> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30895>
This commit is contained in:
committed by
Marge Bot
parent
711c9adb30
commit
92488c4598
@@ -19,6 +19,7 @@ EPHEMERAL=(
|
||||
debhelper-compat
|
||||
dpkg-dev
|
||||
ninja-build
|
||||
sudo
|
||||
unzip
|
||||
)
|
||||
|
||||
@@ -118,6 +119,7 @@ usermod -a -G kvm,cvdnetwork root
|
||||
|
||||
rm -rf "/${ndk:?}"
|
||||
|
||||
export SUDO_FORCE_REMOVE=yes
|
||||
apt-get purge -y "${EPHEMERAL[@]}"
|
||||
|
||||
. .gitlab-ci/container/container_post_build.sh
|
||||
|
||||
Reference in New Issue
Block a user