diff options
-rwxr-xr-x | bin/d-i_manual.sh | 7 | ||||
-rwxr-xr-x | etc/sudoers.d/jenkins | 2 |
2 files changed, 3 insertions, 6 deletions
diff --git a/bin/d-i_manual.sh b/bin/d-i_manual.sh index e61f9774..33b76c00 100755 --- a/bin/d-i_manual.sh +++ b/bin/d-i_manual.sh @@ -17,8 +17,6 @@ rm -fv *.deb *.dsc *_*.build *_*.changes *_*.tar.gz # # prepare build # -cd manual -pdebuild if [ -f /var/base.tgz ] ; then sudo pbuilder --create else @@ -28,6 +26,5 @@ fi # # build # -cd .. -sudo pbuilder --build *dsc - +cd manual +pdebuild diff --git a/etc/sudoers.d/jenkins b/etc/sudoers.d/jenkins index 39d15131..584284b3 100755 --- a/etc/sudoers.d/jenkins +++ b/etc/sudoers.d/jenkins @@ -1,4 +1,4 @@ -jenkins ALL= NOPASSWD: /usr/sbin/debootstrap *, NOPASSWD: /usr/sbin/chroot /chroots/*, NOPASSWD: /bin/rm -rf /chroots/*, NOPASSWD: /bin/umount -l /chroots/*, NOPASSWD: /usr/bin/du *, NOPASSWD: /usr/sbin/pbuilder * +jenkins ALL= NOPASSWD: /usr/sbin/debootstrap *, NOPASSWD: /usr/sbin/chroot /chroots/*, NOPASSWD: /bin/rm -rf /chroots/*, NOPASSWD: /bin/umount -l /chroots/*, NOPASSWD: /usr/bin/du *, SETENV: NOPASSWD: /usr/sbin/pbuilder * # keep these environment variables Defaults env_keep += "http_proxy", env_reset |