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 @@ -179,9 +179,9 @@ function init_chroot(){
179179 exec_nspawn root locale-gen
180180
181181 printf ' builduser ALL = NOPASSWD: /usr/bin/pacman\n' > " $BUILDDIRECTORY " /root/etc/sudoers.d/builduser-pacman
182- exec_nspawn root useradd -m -G wheel -s /bin/bash builduser
183- echo " keyserver-options auto-key-retrieve" | install -Dm644 /dev/stdin " $BUILDDIRECTORY /root" /home/builduser /.gnupg/gpg.conf
184- exec_nspawn root chown -R builduser /home/builduser /.gnupg
182+ exec_nspawn root useradd -m -G wheel -s /bin/bash -d /build builduser
183+ echo " keyserver-options auto-key-retrieve" | install -Dm644 /dev/stdin " $BUILDDIRECTORY /root" /build /.gnupg/gpg.conf
184+ exec_nspawn root chown -R builduser /build /.gnupg
185185 else
186186 printf ' Server = %s\n' " $HOSTMIRROR " > " $BUILDDIRECTORY " /root/etc/pacman.d/mirrorlist
187187 exec_nspawn root pacman -Syu --noconfirm
You can’t perform that action at this time.
0 commit comments