〖Linux〗ltib的使用帮助

ltib是一款用于管理和构建BSP及通用目标根文件系统的脚本工具。本文详细介绍了ltib的各种命令选项及其功能,包括配置、包管理、构建流程等,帮助用户更好地利用ltib进行系统定制。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值