22 lines
376 B
Markdown
22 lines
376 B
Markdown
|
# 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
|
||
|
rm -v *.tar.* *.dsc *.deb *.udeb *.buildinfo *.changes
|
||
|
```
|
||
|
|
||
|
Go to the package source directory and build:
|
||
|
|
||
|
```shell
|
||
|
cd sample
|
||
|
dpkg-buildpackage --no-sign
|
||
|
```
|