[arch-projects] [devtools] [PATCH v2 1/2] makechrootpkg: explain load_vars

Alad Wenter alad at archlinux.info
Fri Jul 22 13:37:24 UTC 2016


The way in which makechrootpkg reads variables from makepkg.conf(5) is
different from makepkg, in that it reads a subset of defined
variables, and only if the were not set in the environment before.

Mention this in the usage text.

Fixes FS#44827
---
 makechrootpkg.in | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/makechrootpkg.in b/makechrootpkg.in
index cd9efce..0b13f0b 100644
--- a/makechrootpkg.in
+++ b/makechrootpkg.in
@@ -46,6 +46,10 @@ usage() {
 	echo 'command:'
 	echo '    mkarchroot <chrootdir>/root base-devel'
 	echo ''
+	echo 'This script reads {SRC,SRCPKG,PKG,LOG}DEST, MAKEFLAGS and PACKAGER'
+	echo 'from makepkg.conf(5), if those variables are not part of the'
+	echo 'environment.'
+	echo ''
 	echo "Default makepkg args: ${makepkg_args[*]}"
 	echo ''
 	echo 'Flags:'
-- 
2.9.0


More information about the arch-projects mailing list