summaryrefslogtreecommitdiff
path: root/src/chroot-tools/libremakepkg
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-05-05 20:20:32 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-05-05 20:20:32 -0400
commitdbe3c6efd5ceb882bb2437269272e174e04ce8b8 (patch)
treed4b340ef8dbce38f55067978bb84b23073234384 /src/chroot-tools/libremakepkg
parentdd076472dc6a55236d80b8f01816f88d9a68da5d (diff)
libremakepkg: update usage() text
Diffstat (limited to 'src/chroot-tools/libremakepkg')
-rwxr-xr-xsrc/chroot-tools/libremakepkg26
1 files changed, 14 insertions, 12 deletions
diff --git a/src/chroot-tools/libremakepkg b/src/chroot-tools/libremakepkg
index cd9e60e..019bae1 100755
--- a/src/chroot-tools/libremakepkg
+++ b/src/chroot-tools/libremakepkg
@@ -137,20 +137,22 @@ usage() {
print "Usage: %s [options]" "${0##*/}"
print 'This program will build your package.'
echo
- prose 'If run from outside of a chroot, command will make the following
- configuration changes in the chroot:'
+ prose 'If run from outside of a chroot, this command will make the
+ following configuration changes in the chroot:'
bullet 'whatever changes `librechroot` makes.'
bullet 'set `{PKG,SRC,SRCPKG,LOG}DEST` in `/etc/makepkg.conf`'
- bullet 'set `PACKAGER` in `/etc/makepkg.conf` to reflect the value
- outside of the chroot.'
- bullet '(maybe) delete `/build/.makepkg.conf`'
- bullet '(maybe) delete `/build/.ssh/config`'
- prose 'If run from inside of a chroot, this command will:'
- bullet '(maybe) delete `~/.makepkg.conf`'
- bullet '(maybe) delete `~/.ssh/config`'
- prose 'The above "maybe"s happen as part of the workarounds to make
- distcc work in a network-less environment. They will happen if
- both `socat` and `distcc` are installed in the chroot.'
+ bullet 'set `MAKEFLAGS` and `PACKAGER` in `/etc/makepkg.conf` to reflect
+ the value outside of the chroot.'
+ bullet 'create a `builduser` with the same numeric UID as the
+ invoking $SUDO_USER.'
+ bullet 'lets this `builduser` call `sudo pacman` without a password.'
+ bullet 'adds a pacman repositoriy of locally built packages'
+ echo
+ prose 'This command is configured both with `chroot.conf` (either in
+ `/etc/libretools.d/` or `$XDG_CONFIG_HOME/libretools/`), and with
+ makepkg.conf(5). However, similarly to makepkg(8), it lets
+ environment variables for {SRC,SRCPKG,PKG,LOG}DEST, MAKEFLAGS and
+ PACKAGER override the settings in makepkg.conf(5).'
echo
prose 'The `-n` and `-l` options behave identically to librechroot, see
the documentation there.'