Linux command
koji-build 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
Example
koji build target path/to/package.src.rpm
Example
koji build target git+https://src.fedoraproject.org/rpms/pkg.git#commit
Example
koji build target path/to/package.src.rpm --scratch
Example
koji build target path/to/package.src.rpm --wait
Example
koji build target path/to/package.src.rpm --nowait
Example
koji build --help
说明
koji build builds an RPM package using the Koji build system. It can build from a source RPM or from a SCM (Source Code Management) URL pointing to a package repository.
参数
- target
- Build target defining the build environment
- --scratch
- Perform a scratch build (not imported into repos)
- --wait
- Wait for build completion even if running in background
- --nowait
- Submit build and return immediately
- --arch-override ARCHES
- Override architectures to build for
- --repo-id REPO
- Use a specific repo for the build
- --background
- Run build at a lower priority
- -h, --help
- Display help information
FAQ
What is the koji-build command used for?
koji build builds an RPM package using the Koji build system. It can build from a source RPM or from a SCM (Source Code Management) URL pointing to a package repository.
How do I run a basic koji-build example?
Run `koji build target path/to/package.src.rpm` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does target do in koji-build?
Build target defining the build environment