TSENV man page
NAME
tsenv - start an interactive shell in a TSRPM cross-building environment
SYNOPSIS
tsenv [tsrpm-options] ...
DESCRIPTION
tsenv is a tool for debugging packages which have previously been built with tsrpm. In its simplest form, running tsenv will start an interactive version of your current shell, with the current working directory set to the build area of the last package built by tsrpm.
If command-line arguments are specified, they override any previous tsrpm settings. Valid command line arguments are any options that are allowed with tsrpm’s --build option, with the exception of the --build option itself.
Once tsenv has placed you in the build area, commands like make, and gcc, and configure, will operate similarly to the way they work when building under tsrpm. This makes it easy to debug problems with builds and develop patches to fix build problems.
See tsrpm --makepatch for information on developing patches which will be automatically applied to a package’s spec file.
- Example using tsenv with no arguments:
/home/build % tsrpm --target=ppc7xx --build mktemp-1.5-7 ... /home/build % tsenv # starts a sub-shell in ppc7xx/BUILD/mktemp-1.5.7 [armv5b] /home/build/ppc7xx/mktemp-1.5.7 %
- Example using tsenv with overriding options:
/home/build % tsrpm --target=ppc7xx --build mktemp-1.5-7 ... /home/build % tsenv --target=armv5b [armv5b] /home/build/armv5b/mktemp-1.5.7 %
- Example using tsenv with an overriding package:
/home/build % tsenv --target=mipsel --cross-tool glibc [mipsel] /home/build/i386-x-mipsel/glibc-2.3.3-10 %
FILES
tsrpm_last – contains all of the options used in the last tsrpm command.