Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 1.21 KB

File metadata and controls

45 lines (32 loc) · 1.21 KB

Intro

Prerequisites

sudo apt install debhelper
sudo apt install devscripts

Build

You can generate a non-signed debian package via:

debuild -us -uc -b

in the parent of this directory. This will generate the deb file in the parent directory of this repository.

You can increase changelog version and comments with dch utility, like with dch -i that increase minor version.

Add to your .gitignore:

*/*.debhelper
*/*.debhelper.log
*.buildinfo
*.substvars
debian/files
debian/ipt

Looking for inspiration?

You can see tomcat8-examples package source for inspiration of tomcat8 packages and also about how to create multiple debian packages from a same source repository.

Also dbconfig-common package have some samples in /usr/share/doc/dbconfig-common/examples/ for mysql and postgresql debian configuration tasks for packages.

Testing

You can test the generated package without install it with piuparts like:

sudo piuparts -D ubuntu -d xenial -d bionic ../ipt_2.4.0-1_all.deb

in this way you can also test it in different releases.

Read /usr/share/doc/piuparts/README.* for more usage samples.