From 6ec0551a52378a5c8beed08a246e842df45660e7 Mon Sep 17 00:00:00 2001 From: Emanuele Rocca Date: Tue, 9 Nov 2021 10:46:21 +0100 Subject: [PATCH] gbp: add page (#7216) --- pages/linux/gbp.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/linux/gbp.md diff --git a/pages/linux/gbp.md b/pages/linux/gbp.md new file mode 100644 index 0000000000..155ad139f9 --- /dev/null +++ b/pages/linux/gbp.md @@ -0,0 +1,24 @@ +# gbp + +> A system to integrate the Debian package build system with Git. +> More information: . + +- 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}}`