〖Linux〗ltib的使用帮助

scue@Link:/home/work/ltib$ ./ltib --help

This script is used to manage the building of BSPs with common target
root filesystems.

Normally the system default are what you need. However, if you need to fine
tune some of the setup parameters, edit the file .ltibrc in this directory,
alternatively you may use a common .ltibrc file by placing one in your home
directory.

ltib [-m <mode>] [options....]
    Where:
        --mode|m
          Where mode is either:
            prep        just prep the package
            scbuild     rpmbuild -bc --short-circuit
            scinstall   rpmbuild -bi --short-circuit
            scdeploy    does an scinstall followed by an install to the rootfs
            patchmerge  generate and merge a patch (requires -p <pkg>)
            clean       clean/uninstall target packages
            distclean   full cleanup, removes nearly everything
            listpkgs    list packages (alphanumeric)
            listpkgseula list package names and licenses
            listpkgstw  list packages in twiki format
            listpkgscsv list packages in a format for import into spreadsheet
            listpkgsbuild  list enabled packages in build order
            release     make a binary release iso image
            trelease    make a non-distributable test iso release
            config      configure selected platform (no build)
            selectype   sub-platform selection (no build)
            shell       enter ltib shell mode (sets up spoofing etc)
            addsrpms    import srpms into ltib (semi-automatic)
        --rootn|R     : Root context number (0 is the primary and implicit)
        --pkg|p       : operate on this package only
        --configure|c : run the interactive configuration and build
        --selectype   : run the sub-platform configuration and build
        --preconfig   : configuration file to build from (defaults to .config)
        --profile     : profile file.  This is used to select an alternate
                        set of userspace packages, this is saved and used
                        on later runs of ltib (e.g config/profiles/max.config)
        --rcfile|r <f>: use this resource file
        --batch|b     : batch mode, assume yes to all questions
        --force|f     : force rebuilds even if they are up to date
        --reinstall|e : re-install rpms (but don't force rebuild)
        --erase|E     : remove (erase) rpm
        --nodeps|n    : turn off install/uninstall dependency checks
        --conflicts|k : don't force install rpms that have file conflicts
        --keepsrpms|s : keep the srpms after the build (deleted by default)
        --verbose|v   : more output
        --dry-run|d   : mostly a dry run (calls to system are just echos)
        --continue|C  : try to continue on package build errors (autobuilds)
        --version|V   : print the application version and quit
        --noredir|N   : do not redirect any output
        --deploy|D    : run the deploy scripts even if build is up to date
        --no-deploy   : disabled deployment (even with -p <pkg>
        --dlonly      : just download the packages only
        --dltest      : test that the BSP's packages are available
        --external    : check against external staging repositories
        --leavesrc|l  : leave the sources unpacked (only valid for pkg mode)
        --sticky      : Make the selected root number sticky
        --no-sticky   : Remove root stickiness
        --hostcf      : (re)configure/build/install the host support package set
        --enabled     : use with package listings
        --ignorelock  : use if you really want to ignore any locks (careful!)
        --fullbsp     : used with -m release to copy additional content
        --no-sudo     : don't check sudo, work around for broken sudo (fc9)
        --help|h      : help on usage
原文地址:https://www.cnblogs.com/scue/p/3189965.html