sb2-config(1)

sb2-config1

Scratchbox2 configuration tool

Usage

sb2-config [OPTION] ... [COMMAND [PARAMS]]

Overview

sb2-config is used to set and display configuration of existing targets.

Options

-d default_target

This option sets the default sb2 target. The name of the target will be written to your $HOME/.scratchbox2/config file.

-l

lists all available targets in your system. The names listed can be used as a parameter to the -d option.

-h

Display short help.

-v

Show version of this tool.

-t target

select target to be used with commands (below)

Commands

showtarget

show default target.

showlog

show configuration log

showenv

show target-specific environment variables

setenv VARIABLE VALUE

set target-specific environment variable. The value becomes effective when sb2 is executed.

clearenv VARIABLE

set clearing for target-specific environment variable

unsetenv VARIABLE

remove target-specific environment variable

Examples

$ sb2-config -d diablo41_armel
This command sets your default target to be diablo41_armel.
$ sb2-config -l
This example lists all installed targets in your host. The names listed can be used as a parameter to the -d option.

Releases

3 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0
  2. 7–8

-h since Debian 7 (Wheezy); -l since Debian 7 (Wheezy); -t since Debian 7 (Wheezy).

-L until Debian 6.0 (Squeeze); -f until Debian 6.0 (Squeeze).

Author

Lauri Leukkunen

From scratchbox2 2.2.4-1debian1 in Debian 8 (Jessie). Parsed by carta from the page's man source.