General rules for using DEB
Just add to cqtdeployer option "deb".
cqtdeployer ... deb
Where:
- ... - is list of other options.
- deb - option for create the deb package.
By default, cqtdeployer will create one deb package. If you want create multi package destribution, you should use Controll of packages options To create a new package, use the -targetPackage [package; tar1] option
cqtdeployer create deb package for each packages.
Where:
- package - it is package name
- tar1 - it is name of the target that should be included in this package.
Or you can describe packages in configuration file
{
"targetPackage": [
[
"package",
"tar1"
],
],
"deb": true
}
You can create a own Template fo the debian pacakges.
└── Debian templates
├── debPacakge1
│ └── DEBIAN
│ ├── control
│ ├── postinst
│ └── prerm
└── debPacakge2
└── DEBIAN
├── control
├── postinst
└── prerm
For include your templates into your destribution you need to add path of the Debian templates folder into deployConfig.json
{
"targetPackage": [
[
"debPacakge1",
"tar1"
],
[
"debPacakge2",
"tar2"
],
],
"deb": "./Debian templates"
}
For initialize default templates you can use the getDefaultTemplate option. The getDefaultTemplate option extract default template of the cqtdeployer. This is can be very convinion if you want override default behavior of the installer or anothe distribution package.
cqtdeployer getDefaultTemplate deb