Debian: Difference between revisions

From IoWiki
Jump to navigation Jump to search
(Created page with "Notes about Debian packaging. == GBP == === gbp:error: upstream/... is not a valid treeish === If running gbp in a debianized source directory results in this error, try ru...")
 
(Add mkhomedir_helper)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
Notes about Debian packaging.
Packaging, repository management, user environment setup, and more.


== GBP ==
=General Administration=


=== gbp:error: upstream/... is not a valid treeish ===
==Prepare a default home directory==


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'')
# mkhomedir_helper $USER


  --git-upstream-tree=branch
=Package Development=
 
==Preparing an environment==
 
Everything needed to build debs as the distribution maintainers do.
 
===Development packages===
 
  # apt install build-essential devscripts git-buildpackage
 
==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 ====
 
* [https://github.com/patjak/bcwc_pcie/issues/108 GBP Error: not a valid treeish]
 
==Reference==
 
* [https://wiki.debian.org/UsingQuilt Using Quilt - Debian Wiki]
 
[[Category:Packaging]]

Latest revision as of 21:07, 18 March 2024

Packaging, repository management, user environment setup, and more.

General Administration

Prepare a default home directory

# mkhomedir_helper $USER

Package Development

Preparing an environment

Everything needed to build debs as the distribution maintainers do.

Development packages

# apt install build-essential devscripts git-buildpackage

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

Reference