]> git.ipfire.org Git - thirdparty/mkosi.git/commit
Add "ExtraSearchPaths=" and --extra-search-paths 229/head
authorCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Wed, 31 Jan 2018 22:33:29 +0000 (14:33 -0800)
committerCaio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Tue, 6 Feb 2018 19:55:49 +0000 (11:55 -0800)
commitc62967db3b473c9725d8ec98388751f93a238ad3
treeb4175e06aadd422d6dac10017c9c919d9c90e752
parent5ad281927307277a554d6a20fcefb241cdf89139
Add "ExtraSearchPaths=" and --extra-search-paths

This variable keeps a colon-delimited list of paths to be prepended to
PATH in the context of mkosi execution. Unlike shell variable
expansion, if any path refers to an unset variable, that path will be
ignored.

Besides the environment variables, the variable SUDO_HOME can be used
to refer to the home directory of the user calling mkosi with
sudo. This allows settings like

    ExtraSearchPaths=$SUDO_HOME/go/bin
mkosi