From 8b8460731ddff4e6f6c3c9783770bdef04aa7b23 Mon Sep 17 00:00:00 2001 From: Tasos Sahanidis Date: Fri, 1 Mar 2024 15:13:09 +0200 Subject: Preserve CARGO_REGISTRIES_CRATES_IO_PROTOCOL --- src/makechrootpkg.in | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/makechrootpkg.in b/src/makechrootpkg.in index aac7a0b..57a5d23 100644 --- a/src/makechrootpkg.in +++ b/src/makechrootpkg.in @@ -46,6 +46,7 @@ usage() { echo ' end-of-options marker (--) will be passed to makepkg.' echo '' echo ' The chroot dir consists of the following directories:' + echo ' The chroot dir consists of the following directories:' echo ' /{root, copy} but only "root" is required' echo ' by default. The working copy will be created as needed' echo '' @@ -222,6 +223,7 @@ _chrootbuild() { sudo --preserve-env=SOURCE_DATE_EPOCH \ --preserve-env=BUILDTOOL \ --preserve-env=BUILDTOOLVER \ + --preserve-env=CARGO_REGISTRIES_CRATES_IO_PROTOCOL \ -iu builduser bash -c 'cd /startdir; makepkg "$@"' -bash "$@" ret=$? case $ret in -- cgit v1.2.3-70-g09d2