File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -180,9 +180,9 @@ function init_chroot(){
180180 exec_nspawn root locale-gen
181181
182182 printf ' builduser ALL = NOPASSWD: /usr/bin/pacman\n' > " $BUILDDIRECTORY " /root/etc/sudoers.d/builduser-pacman
183- exec_nspawn root useradd -m -G wheel -s /bin/bash builduser
184- echo " keyserver-options auto-key-retrieve" | install -Dm644 /dev/stdin " $BUILDDIRECTORY /root" /home/builduser /.gnupg/gpg.conf
185- exec_nspawn root chown -R builduser /home/builduser /.gnupg
183+ exec_nspawn root useradd -m -G wheel -s /bin/bash -d /build builduser
184+ echo " keyserver-options auto-key-retrieve" | install -Dm644 /dev/stdin " $BUILDDIRECTORY /root" /build /.gnupg/gpg.conf
185+ exec_nspawn root chown -R builduser /build /.gnupg
186186 else
187187 printf ' Server = %s\n' " $HOSTMIRROR " > " $BUILDDIRECTORY " /root/etc/pacman.d/mirrorlist
188188 exec_nspawn root pacman -Syu --noconfirm
You can’t perform that action at this time.
0 commit comments