Closed kpcyrd closed 1 year ago
cp: cannot stat '/usr/share/devtools/makepkg-x86_64.conf': No such file or directory
The file has moved to /usr/share/devtools/makepkg.conf.d/x86_64.conf
Ah, that is very annoying as we need to special case this.
diff --git a/repro.in b/repro.in
index 7ce2528..9756428 100755
--- a/repro.in
+++ b/repro.in
@@ -497,7 +497,8 @@ if [[ "$DEVTOOLS_PKG" == https* ]]; then
else
pacman --noconfirm --needed -Sddu "$DEVTOOLS_PKG"
fi
-cp -v /usr/share/devtools/makepkg-x86_64.conf /mnt/etc/makepkg.conf
+[[ -f /usr/share/devtools/makepkg-x86_64.conf ]] && cp -v /usr/share/devtools/makepkg-x86_64.conf /mnt/etc/makepkg.conf
+[[ -f /usr/share/devtools/makepkg.d/x86_64.conf ]] && cp -v /usr/share/devtools/makepkg.d/x86_64.conf /mnt/etc/makepkg.conf
__END__
lock_close 9 "$KEYRINGCACHE/$keyring_package.lock"
Should work
I made it work with errexit and tested it with one package before the migration and one after
Awesome :) thanks!
Current error:
Permalink to a package to reproduce this with: https://archive.archlinux.org/repos/2023/05/25/extra/os/x86_64/doctl-1.96.0-1-x86_64.pkg.tar.zst