Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTasos Sahanidis <tasos@tasossah.com>2024-03-01 15:13:09 +0200
committerTasos Sahanidis <tasos@tasossah.com>2024-03-01 15:13:09 +0200
commit8b8460731ddff4e6f6c3c9783770bdef04aa7b23 (patch)
tree01cc86cfc2d9ef574205af02eeb53a1822cddda1
parent7ed3d9512b1d2330bbcf265b24e8e845a6a83eca (diff)
Preserve CARGO_REGISTRIES_CRATES_IO_PROTOCOL
-rw-r--r--src/makechrootpkg.in2
1 files changed, 2 insertions, 0 deletions
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 ' <chrootdir>/{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