mirror of
https://github.com/sbopkg/sbopkg
synced 2024-12-27 09:58:28 +01:00
modify sbopkg.conf(5) man page based on modified sbopkg.conf.new file
This commit is contained in:
parent
95ad7b9b92
commit
1a63682c4b
1 changed files with 28 additions and 10 deletions
|
@ -52,7 +52,7 @@ The default value of SRCDIR is /var/cache/sbopkg.
|
|||
This options sets the default directory where certain working
|
||||
files are saved on a temporary basis.
|
||||
|
||||
The default value of TMP is /tmp.
|
||||
The default value of TMP is /tmp/SBo.
|
||||
|
||||
.TP 5
|
||||
.B KEEPLOG
|
||||
|
@ -72,21 +72,39 @@ The default value of KEEPLOG is YES.
|
|||
.SH OVERRIDING ENVIRONMENTAL VARIABLES
|
||||
It is possible to set or override environmental variables and pass
|
||||
them to the SlackBuild scripts when they are built from within sbopkg.
|
||||
For example, using the following in sbopkg.conf instead of a TMP line:
|
||||
This is already demonstrated in the following line in the sbopkg.conf
|
||||
file:
|
||||
|
||||
export TMP=${TMP:-/tmp/SBo}
|
||||
|
||||
This sets $TMP to /tmp/SBo for sbopkg purposes (i.e. where sbopkg logs
|
||||
are kept) and also for building packages. Since this variable is
|
||||
exported, it could be changed for both sbopkg and for building
|
||||
packages from SBo SlackBuilds within sbopkg. For example, changing
|
||||
this line so it reads:
|
||||
|
||||
export TMP=${TMP:-/home/sbo/tmp}
|
||||
|
||||
will set $TMP to /home/sbo/tmp for sbopkg purposes (i.e. where sbopkg
|
||||
logs are kept) and also for building packages (i.e. instead of
|
||||
/tmp/SBo).
|
||||
would then set $TMP to /home/sbo/tmp for sbopkg and SBo SlackBuild
|
||||
script purposes.
|
||||
|
||||
You can also pass variables in sbopkg.conf that are not used by sbopkg
|
||||
at all:
|
||||
You can also export variables in sbopkg.conf that are not used by sbopkg
|
||||
at all, as demonstrated by the commented out line towards the bottom
|
||||
of sbopkg.conf:
|
||||
|
||||
export OUTPUT=${OUTPUT:-/home/sbo/packages}
|
||||
export OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
will set $OUTPUT for all SlackBuild packages built from within sbopkg (i.e.
|
||||
instead of /tmp, which is the default in SBo SlackBuild scripts).
|
||||
$OUTPUT is only used in the SBo SlackBuild scripts. The default
|
||||
setting of /tmp is the same that is currently used in the SBo
|
||||
SlackBuild scripts. By uncommenting the $OUTPUT line in sbopkg.conf,
|
||||
one can export $OUTPUT for all SlackBuild packages built from within
|
||||
sbopkg. For example, you could change this to /home/sbo/packages.
|
||||
|
||||
As you can probably see, by making a few changes to these variables you
|
||||
could have a completely separated sandbox for SBo purposes -- the repo
|
||||
at /home/sbo, the $TMP directory at /home/sbo/tmp, the source cache
|
||||
directory at /home/sbo/cache, and the $OUTPUT directory where compiled
|
||||
packages are saved at /home/sbo/packages.
|
||||
|
||||
.SH "SEE ALSO"
|
||||
.BR sbopkg (8)
|
||||
|
|
Loading…
Reference in a new issue