1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-22 06:22:07 +02:00

gbp: add page (#7216)

This commit is contained in:
Emanuele Rocca 2021-11-09 10:46:21 +01:00 committed by GitHub
parent 0ebe83735f
commit 6ec0551a52
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

24
pages/linux/gbp.md Normal file
View file

@ -0,0 +1,24 @@
# gbp
> A system to integrate the Debian package build system with Git.
> More information: <http://honk.sigxcpu.org/projects/git-buildpackage/manual-html/gbp.html>.
- Convert an existing Debian package to gbp:
`gbp import-dsc {{path/to/package.dsc}}`
- Build the package in the current directory using the default builder (`debuild`):
`gbp buildpackage -jauto -us -uc`
- Build a package in a `pbuilder` environment for Debian Bullseye:
`DIST={{bullseye}} ARCH={{amd64}} gbp buildpackage -jauto -us -uc --git-builder={{git-pbuilder}}`
- Specify a package to be a source-only upload in the `.changes` file (see https://wiki.debian.org/SourceOnlyUpload):
`gbp buildpackage -jauto -us -uc --changes-options={{-S}}`
- Import a new upstream release:
`gbp import-orig --pristine-tar {{path/to/package.tar.gz}}`