Linux command
pbuilder 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Create base tarball
pbuilder create
Build package
pbuilder build [package.dsc]
Update base tarball
pbuilder update
Login to chroot
pbuilder login
Build with distribution
pbuilder build --distribution [sid] [package.dsc]
说明
pbuilder builds Debian packages in chroot. Clean build environment. The tool ensures reproducible builds. Isolated from host system.
参数
- create
- Create base tarball.
- build _DSC_
- Build package from .dsc.
- update
- Update base tarball.
- login
- Enter chroot shell.
- --distribution _DIST_
- Target distribution.
- --basetgz _FILE_
- Base tarball path.
FAQ
What is the pbuilder command used for?
pbuilder builds Debian packages in chroot. Clean build environment. The tool ensures reproducible builds. Isolated from host system.
How do I run a basic pbuilder example?
Run `pbuilder create` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does create do in pbuilder?
Create base tarball.