2021-01-29 00:20:46 +05:30
|
|
|
# Build a Debian package
|
|
|
|
|
|
|
|
Install the build dependencies:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
sudo apt install dpkg-dev
|
|
|
|
```
|
|
|
|
|
|
|
|
Go to the `spec/fixtures/packages/debian` directory and clean up old files:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
cd spec/fixtures/packages/debian
|
2023-05-27 22:25:52 +05:30
|
|
|
rm -v *.tar.* *.dsc *.deb *.udeb *.ddeb *.buildinfo *.changes
|
2021-01-29 00:20:46 +05:30
|
|
|
```
|
|
|
|
|
|
|
|
Go to the package source directory and build:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
cd sample
|
|
|
|
dpkg-buildpackage --no-sign
|
|
|
|
```
|