diff options
author | Tasos Sahanidis <tasos@tasossah.com> | 2024-03-01 15:39:53 +0200 |
---|---|---|
committer | Tasos Sahanidis <tasos@tasossah.com> | 2024-03-01 15:39:53 +0200 |
commit | 8c41277a2e62c7ed2b07ac5d09af57b31c9cd890 (patch) | |
tree | 5ce26fbe561a03c99cdff17ac4eec94e7b4192c1 | |
parent | 16e2185c8a4468e702a7ff9751b2f3b64dfd1c59 (diff) | |
download | devtools-8c41277a2e62c7ed2b07ac5d09af57b31c9cd890.tar.xz |
Run makepkg with CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse
-rw-r--r-- | src/makechrootpkg.in | 2 |
1 files changed, 1 insertions, 1 deletions
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) |