Debian: Difference between revisions

From IoWiki
Jump to navigation Jump to search
No edit summary
(Use magic word for inline GBP mitigation code)
Line 1: Line 1:
Notes about Debian packaging.
Notes about Debian packaging.


== GBP ==
=Package Development=


=== gbp:error: upstream/... is not a valid treeish ===
==Preparing an environment==


If running gbp in a debianized source directory results in this error, try running gbp with this argument (where the branch being used is ''branch'')
Everything needed to build debs as the distribution maintainers do.


--git-upstream-tree=branch
===Development packages===


# apt install build-essential devscripts
==GBP issues==
===gbp:error: upstream/... is not a valid treeish===
If running gbp in a debianized source directory results in this error, try running gbp with {{code|inline=y|lang=bash|--git-upstream-tree{{=}}branch}} (where ''branch'' is the branch being used)
==== Reference ====
==== Reference ====



Revision as of 18:21, 1 September 2023

Notes about Debian packaging.

Package Development

Preparing an environment

Everything needed to build debs as the distribution maintainers do.

Development packages

# apt install build-essential devscripts

GBP issues

gbp:error: upstream/... is not a valid treeish

If running gbp in a debianized source directory results in this error, try running gbp with --git-upstream-tree=branch (where branch is the branch being used)

Reference