Page MenuHomePureOS Tracker

Packaging Overview
Updated 2,598 Days AgoPublic

Version 1 of 3: You are viewing an older version of this document, as it appeared on Mar 14 2017, 15:13.

Prerequisites

To build packages, install the devscripts package: sudo apt install devscripts, which contains a lot of useful helpers for building Debian packages.
Having gbp available is also a good idea: sudo apt install git-buildpackage

Building packages

All packages have to be built in a pristine PureOS landing chroot before being uploaded to PureOS. The preferred method to do that is by using pbuilder.
For packages not managed in Git, pbuilder can be invoked via

DIST=landing pdebuild --auto-debsign

For Git-managed packages, gbp provides options to build with pbuilder directly. Alternatively, pdebuild can be passed in like gbp buildpackage --git-builder='DIST=landing pdebuild --auto-debsign'

Validating packages

Use lintian -IE --pedantic <changes-file> to check a package for compliance with the Debian policy. Ensure it is warning and error-free.
Currently, all warnings related to NMUs and invalid suites can be ignored, as those are different or don't exist in PureOS (Lintian does not know about the existence of PureOS yet).

Last Author
mak
Last Edited
Mar 14 2017, 15:13

Event Timeline

mak created this document.Mar 14 2017, 15:13
mak edited the content of this document. (Show Details)
mak edited the content of this document. (Show Details)Mar 14 2017, 15:20
mak changed the edit policy from "Administrators" to "Restricted Project (Project)".