Debian: Difference between revisions

From IoWiki
Jump to navigation Jump to search
(Add mkhomedir_helper)
No edit summary
Line 16: Line 16:


  # apt install build-essential devscripts git-buildpackage
  # apt install build-essential devscripts git-buildpackage
==Skip checks/tests==
DEB_BUILD_OPTIONS=nocheck


==GBP issues==
==GBP issues==

Revision as of 17:01, 2 May 2025

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

Skip checks/tests

DEB_BUILD_OPTIONS=nocheck

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