Print this page
9001 cdm is useless, remove it
9002 webrev should know how to get the git user name
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>
Reviewed by: Joshua M. Clulow <jmc@joyent.com>


  32 
  33 /opt/onbld/etc/abi
  34         contains Solaris ABI database (ABI_*.db) and exceptions
  35         for ABI Auditing tool (interface_check, interface_cmp).
  36 
  37 /opt/onbld/bin
  38         basic bin directory - contains scripts.
  39 
  40 /opt/onbld/bin/${MACH}
  41         architecture-specific bin directory for binaries.
  42 
  43 /opt/onbld/env
  44         build environment files.
  45 
  46 /opt/onbld/lib
  47         libraries used by the build tools.
  48 
  49 /opt/onbld/lib/python<version>/
  50         python modules used by the build tools.
  51 
  52 /opt/onbld/lib/python<version>/onbld/hgext
  53         Mercurial extensions.
  54 
  55 /opt/onbld/lib/python/ 
  56         symlink to the modules directory of the currently preferred
  57         python version.  This exists to retain compatibility both for
  58         tools expecting only one supported version of python, and for
  59         user .hgrc files that expect to find cdm.py in
  60         /opt/onbld/lib/python/onbld/hgext.
  61 
  62 /opt/onbld/man
  63         rudimentary man pages for some of the tools.
  64 
  65 
  66 Tool Summary
  67 ------------
  68 
  69 bldenv
  70         companion to 'nightly.' Takes the same environment file you
  71         used with 'nightly,' and starts a shell with the environment
  72         set up the same way as 'nightly' set it up. This is useful
  73         if you're trying to quickly rebuild portions of a workspace
  74         built by 'nightly'. 'ws' should not be used for this since it
  75         sets the environment up differently and may cause everything
  76         to rebuild (because of different -I or -L paths).
  77 
  78 build_cscope
  79         builds cscope databases in the uts, the platform subdirectories
  80         of uts, and in usr/src. Uses cscope-fast.
  81 
  82 cdm 
  83         A Mercurial extension providing various commands useful for ON
  84         development
  85 
  86 check_rtime
  87         checks ELF attributes used by ELF dynamic objects in the proto area.
  88         Used by 'nightly's -r option, to check a number of ELF runtime
  89         attributes for consistency with common build rules.  nightly uses
  90         the -o option to simplify the output for diffing with previous
  91         build results.  It also uses the -i option to obtain NEEDED and RUNPATH
  92         entries, which help detect changes in software dependencies and makes
  93         sure objects don't have any strange runpaths like /opt/SUNWspro/lib.
  94 
  95 codereview
  96         Given two filenames, creates a postscript file with the file 
  97         differences highlighted.
  98 
  99 codesign
 100         Tools for signing cryptographic modules using the official
 101         Sun release keys stored on a remote signing server. This
 102         directory contains signit, a client program for signing
 103         files with the signing server; signproto, a shell script
 104         that finds crypto modules in $ROOT and signs them using
 105         signit; and codesign_server.pl, the code that runs on the


 144         Finds all files in a source tree that have access times older than a
 145         certain time and are not in a specified list of exceptions.  Since
 146         'nightly' timestamps the start of the build, and findunref uses its
 147         timestamp (by default), this can be used to find all files that were
 148         unreferenced during a nightly build).  Since some files are only used
 149         during a SPARC or Intel build, 'findunref' needs to be run on
 150         workspaces from both architectures and the results need to be merged.
 151         For instance, if $INTELSRC and $SPARCSRC are set to the usr/src
 152         directories of your Intel and SPARC nightly workspaces, then you
 153         can merge the results like so:
 154 
 155         $ findunref $INTELSRC $INTELSRC/tools/findunref/exception_list | \
 156           sort > ~/unref-i386.out
 157         $ findunref $SPARCSRC $SPARCSRC/tools/findunref/exception_list | \
 158           sort > ~/unref-sparc.out
 159         $ comm -12 ~/unref-i386.out ~/unref-sparc.out > ~/unref.out
 160 
 161 hdrchk
 162         checks headers for compliance with OS/Net standards (form, includes,
 163         C++ guards).
 164 
 165 hgsetup
 166         creates a basic Mercurial configuration for the user.
 167 
 168 hg-active
 169         helper used by webrev to generate file lists for Mercurial
 170         workspaces.
 171 
 172 install.bin
 173         binary version of /usr/sbin/install. Used to be vastly faster
 174         (since /usr/sbin/install is a shell script), but may only be a bit
 175         faster now. One speedup includes avoiding the name service for the
 176         well-known, never-changing password entries like 'root' and 'sys.'
 177 
 178 interface_check
 179         detects and reports invalid versioning in ELF objects.
 180         Optionally generates an interface description file for
 181         the workspace.
 182 
 183 interface_cmp
 184         Compares two interface description files, as produced by
 185         interface_check, and flags invalid deviations in ELF object
 186         versioning between them. interface_cmp can be used between Solaris
 187         gates to ensure that older releases remain compatible with the
 188         development gate. It can also be used to validate new changes to
 189         the development gate before they are integrated.
 190 




  32 
  33 /opt/onbld/etc/abi
  34         contains Solaris ABI database (ABI_*.db) and exceptions
  35         for ABI Auditing tool (interface_check, interface_cmp).
  36 
  37 /opt/onbld/bin
  38         basic bin directory - contains scripts.
  39 
  40 /opt/onbld/bin/${MACH}
  41         architecture-specific bin directory for binaries.
  42 
  43 /opt/onbld/env
  44         build environment files.
  45 
  46 /opt/onbld/lib
  47         libraries used by the build tools.
  48 
  49 /opt/onbld/lib/python<version>/
  50         python modules used by the build tools.
  51 



  52 /opt/onbld/lib/python/ 
  53         symlink to the modules directory of the currently preferred
  54         python version.



  55 
  56 /opt/onbld/man
  57         rudimentary man pages for some of the tools.
  58 
  59 
  60 Tool Summary
  61 ------------
  62 
  63 bldenv
  64         companion to 'nightly.' Takes the same environment file you
  65         used with 'nightly,' and starts a shell with the environment
  66         set up the same way as 'nightly' set it up. This is useful
  67         if you're trying to quickly rebuild portions of a workspace
  68         built by 'nightly'. 'ws' should not be used for this since it
  69         sets the environment up differently and may cause everything
  70         to rebuild (because of different -I or -L paths).
  71 
  72 build_cscope
  73         builds cscope databases in the uts, the platform subdirectories
  74         of uts, and in usr/src. Uses cscope-fast.
  75 




  76 check_rtime
  77         checks ELF attributes used by ELF dynamic objects in the proto area.
  78         Used by 'nightly's -r option, to check a number of ELF runtime
  79         attributes for consistency with common build rules.  nightly uses
  80         the -o option to simplify the output for diffing with previous
  81         build results.  It also uses the -i option to obtain NEEDED and RUNPATH
  82         entries, which help detect changes in software dependencies and makes
  83         sure objects don't have any strange runpaths like /opt/SUNWspro/lib.
  84 
  85 codereview
  86         Given two filenames, creates a postscript file with the file 
  87         differences highlighted.
  88 
  89 codesign
  90         Tools for signing cryptographic modules using the official
  91         Sun release keys stored on a remote signing server. This
  92         directory contains signit, a client program for signing
  93         files with the signing server; signproto, a shell script
  94         that finds crypto modules in $ROOT and signs them using
  95         signit; and codesign_server.pl, the code that runs on the


 134         Finds all files in a source tree that have access times older than a
 135         certain time and are not in a specified list of exceptions.  Since
 136         'nightly' timestamps the start of the build, and findunref uses its
 137         timestamp (by default), this can be used to find all files that were
 138         unreferenced during a nightly build).  Since some files are only used
 139         during a SPARC or Intel build, 'findunref' needs to be run on
 140         workspaces from both architectures and the results need to be merged.
 141         For instance, if $INTELSRC and $SPARCSRC are set to the usr/src
 142         directories of your Intel and SPARC nightly workspaces, then you
 143         can merge the results like so:
 144 
 145         $ findunref $INTELSRC $INTELSRC/tools/findunref/exception_list | \
 146           sort > ~/unref-i386.out
 147         $ findunref $SPARCSRC $SPARCSRC/tools/findunref/exception_list | \
 148           sort > ~/unref-sparc.out
 149         $ comm -12 ~/unref-i386.out ~/unref-sparc.out > ~/unref.out
 150 
 151 hdrchk
 152         checks headers for compliance with OS/Net standards (form, includes,
 153         C++ guards).







 154 
 155 install.bin
 156         binary version of /usr/sbin/install. Used to be vastly faster
 157         (since /usr/sbin/install is a shell script), but may only be a bit
 158         faster now. One speedup includes avoiding the name service for the
 159         well-known, never-changing password entries like 'root' and 'sys.'
 160 
 161 interface_check
 162         detects and reports invalid versioning in ELF objects.
 163         Optionally generates an interface description file for
 164         the workspace.
 165 
 166 interface_cmp
 167         Compares two interface description files, as produced by
 168         interface_check, and flags invalid deviations in ELF object
 169         versioning between them. interface_cmp can be used between Solaris
 170         gates to ensure that older releases remain compatible with the
 171         development gate. It can also be used to validate new changes to
 172         the development gate before they are integrated.
 173