diff --git a/.drone.yml b/.drone.yml index de28c4c..6db666e 100644 --- a/.drone.yml +++ b/.drone.yml @@ -18,9 +18,7 @@ steps: image: archlinux:base-devel commands: - pacman -Syu --noconfirm - - useradd --no-create-home --shell=/bin/sh build && usermod -L build - - echo "build ALL=(ALL) NOPASSWD : ALL" >> /etc/sudoers - - echo "root ALL=(ALL) NOPASSWD : ALL" >> /etc/sudoers - - chown -R build:build /drone/src + - chmod +x setupbuild.sh + - sh setupbuild.sh - su build - MAKEFLAGS="-j$(nproc)" makepkg --syncdeps \ No newline at end of file