mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-02-06 03:30:27 +01:00
CI: Make adduser properly non-interactive
Signed-off-by: Simon McVittie <smcv@collabora.com>
This commit is contained in:
parent
cb6abc6391
commit
52fcc82379
1 changed files with 1 additions and 1 deletions
|
|
@ -161,7 +161,7 @@ case "$ci_distro" in
|
|||
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
|
||||
adduser --disabled-password --gecos "" user
|
||||
echo "user ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/nopasswd
|
||||
chmod 0440 /etc/sudoers.d/nopasswd
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue