From 8c41277a2e62c7ed2b07ac5d09af57b31c9cd890 Mon Sep 17 00:00:00 2001 From: Tasos Sahanidis Date: Fri, 1 Mar 2024 15:39:53 +0200 Subject: Run makepkg with CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse --- src/makechrootpkg.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/makechrootpkg.in b/src/makechrootpkg.in index aac7a0b..c2e3daa 100644 --- a/src/makechrootpkg.in +++ b/src/makechrootpkg.in @@ -222,7 +222,7 @@ _chrootbuild() { sudo --preserve-env=SOURCE_DATE_EPOCH \ --preserve-env=BUILDTOOL \ --preserve-env=BUILDTOOLVER \ - -iu builduser bash -c 'cd /startdir; makepkg "$@"' -bash "$@" + -iu builduser bash -c 'cd /startdir; CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse makepkg "$@"' -bash "$@" ret=$? case $ret in 0|14) -- cgit v1.2.3-70-g09d2