Skip to content

Commit eea745c

Browse files
committed
Align home folder path with devtools
1 parent 2f09b43 commit eea745c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

repro.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)