-
Notifications
You must be signed in to change notification settings - Fork 72
Building deb packages
Brian K. White edited this page Sep 12, 2019
·
2 revisions
make deb
makes a deb matching the distribution and architecture of the building host.
- Create or update a base.tgz for the desired build target
pbuilder-dist xenial|bionic|cosmic|disco i386|amd64 create|update
- Create/Update the dsc and tar files
make deb-src
- Get the dsc filename from the output of "make deb-src"
example:release/deb-src/mainline_1.0.1.dsc
- Build the deb with pbuilder-dist
template:pbuilder-dist <dist> <arch> build <dsc_file> --buildresult release/deb
example:pbuilder-dist bionic i386 build release/deb-src/mainline_1.0.1.dsc --buildresult release/deb
To build-install-test-uninstall testing debs locally easily without having to get the exact filenames
make deb-install
make deb-uninstall