summaryrefslogtreecommitdiff
path: root/src/makechrootpkg.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/makechrootpkg.in')
-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