1 May
2016
1 May
'16
7:48 p.m.
This requires the previous patch to enable -e/--setenv to work, and allows with the appropriate flags to sign packages within the chroot. --- makechrootpkg.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makechrootpkg.in b/makechrootpkg.in index 1ef89a4..5acc6d4 100644 --- a/makechrootpkg.in +++ b/makechrootpkg.in @@ -206,7 +206,7 @@ prepare_chroot() { if [[ ! -f $copydir/etc/sudoers.d/builduser-pacman ]]; then cat > "$copydir/etc/sudoers.d/builduser-pacman" <<EOF -Defaults env_keep += "HOME" +Defaults env_keep += "HOME DISPLAY GPG_TTY" builduser ALL = NOPASSWD: /usr/bin/pacman EOF chmod 440 "$copydir/etc/sudoers.d/builduser-pacman" -- 2.8.2