linux-vfio/setupbuild.sh
Shaquille Soekhlal 9749229d20
Some checks reported errors
continuous-integration/drone/push Build was killed
Update 'setupbuild.sh'
2022-03-29 02:32:23 +02:00

7 lines
262 B
Bash

useradd --shell=/bin/bash build && usermod -L build
echo "build ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
echo "root ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
mkdir /home/build/
mkdir /home/build/.gnupg
chown -R build:build /home/build
chown -R build:build /drone/