add workdir

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16517 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott 2013-05-31 19:50:36 +00:00
parent 8016f03610
commit 25300a2ef5

View File

@ -5,23 +5,23 @@ B<buildkit> - build a product Kit to package software for installation in an xCA
=head1 SYNOPSIS
B<buildkit> [B<-V> | B<--verbose>] B<create> I<kit_basename>
B<buildkit> [B<-V> | B<--verbose>] B<create> I<kit_basename> [B<-w> | B<--workdir> I<directory>]
B<buildkit> [B<-V> | B<--verbose>] B<chkconfig>
B<buildkit> [B<-V> | B<--verbose>] B<chkconfig> [B<-w> | B<--workdir> I<directory>]
B<buildkit> [B<-V> | B<--verbose>] B<listrepo>
B<buildkit> [B<-V> | B<--verbose>] B<listrepo> [B<-w> | B<--workdir> I<directory>]
B<buildkit> [B<-V> | B<--verbose>] B<buildrepo> {I<repo_name> | B<all>}
B<buildkit> [B<-V> | B<--verbose>] B<buildrepo> {I<repo_name> | B<all>} [B<-w> | B<--workdir> I<directory>]
B<buildkit> [B<-V> | B<--verbose>] B<cleanrepo> {I<repo_name> | B<all>}
B<buildkit> [B<-V> | B<--verbose>] B<cleanrepo> {I<repo_name> | B<all>} [B<-w> | B<--workdir> I<directory>]
B<buildkit> [B<-V> | B<--verbose>] B<buildtar>
B<buildkit> [B<-V> | B<--verbose>] B<buildtar> [B<-w> | B<--workdir> I<directory>]
B<buildkit> [B<-V> | B<--verbose>] B<cleantar>
B<buildkit> [B<-V> | B<--verbose>] B<cleantar> [B<-w> | B<--workdir> I<directory>]
B<buildkit> [B<-V> | B<--verbose>] B<cleanall>
B<buildkit> [B<-V> | B<--verbose>] B<cleanall> [B<-w> | B<--workdir> I<directory>]
B<buildkit> [B<-V> | B<--verbose>] B<addpkgs> I<kit_tarfile> {B<-p> | B<--pkgdir>} {B<-k> | B<--kitversion> I<version>} {B<-r> | B<--kitrelease> I<release>} I<package_directory>
B<buildkit> [B<-V> | B<--verbose>] B<addpkgs> I<kit_tarfile> {B<-p> | B<--pkgdir>} {B<-k> | B<--kitversion> I<version>} {B<-r> | B<--kitrelease> I<release>} I<package_directory> [B<-w> | B<--workdir> I<directory>]
B<command> [B<-?> | B<-h> | B<--help> | B<-v> | B<--version>]
@ -95,10 +95,22 @@ Build the kit tar file:
=over 10
=item B<-h |--help>
Display usage message.
=item B<-V |--verbose>
Verbose mode.
=item B<-v|--version>
Command Version.
=item B<-w|--workdir>
The location to perform the buildkit subcommand.
=back
=head1 SUB-COMMANDS
@ -188,6 +200,12 @@ To clean up all kit build files, including a previously built kit tar file, run
buildkit cleanall
=item 4.
To create the sample kit in the working directory /home/foobar instead of the current working directory.
buildkit create mykit -w /home/foobar
=back