case "$ci_host" in
(i686-w64-mingw32)
- $sudo apt-get -qq -y install \
+ $sudo apt-get -qq -y --no-install-recommends install \
binutils-mingw-w64-i686 \
g++-mingw-w64-i686 \
$wine32 \
${NULL}
;;
(x86_64-w64-mingw32)
- $sudo apt-get -qq -y install \
+ $sudo apt-get -qq -y --no-install-recommends install \
binutils-mingw-w64-x86-64\
g++-mingw-w64-x86-64 \
$wine64 \
;;
esac
- $sudo apt-get -qq -y install \
+ $sudo apt-get -qq -y --no-install-recommends install \
+ adduser \
autoconf-archive \
automake \
autotools-dev \
dh-exec \
doxygen \
dpkg-dev \
+ g++ \
+ gcc \
gnome-desktop-testing \
libapparmor-dev \
libaudit-dev \
python \
python-dbus \
python-gi \
+ sudo \
valgrind \
wget \
xauth \
xvfb \
${NULL}
+ # Make sure we have a messagebus user, even if the dbus package
+ # isn't installed
+ $sudo adduser --system --quiet --home /nonexistent --no-create-home \
+ --disabled-password --group messagebus
+
if [ "$ci_in_docker" = yes ]; then
# Add the user that we will use to do the build inside the
# Docker container, and let them use sudo
adduser --disabled-password user </dev/null
- apt-get -y install sudo
echo "user ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/nopasswd
chmod 0440 /etc/sudoers.d/nopasswd
fi
(*)
# assume Ubuntu 18.04 'bionic', Debian 10 'buster' or newer
- $sudo apt-get -qq -y install ducktype
+ $sudo apt-get -qq -y --no-install-recommends install ducktype
;;
esac
;;