Add sign method to how to build deb package doc.

This commit is contained in:
Samson-W 2020-04-14 03:01:15 +08:00
parent 2e66b441c3
commit e82fac2699
1 changed files with 4 additions and 2 deletions

View File

@ -34,8 +34,10 @@ $ tar zxvf V0.4.1.tar.gz
## Build deb package
```
~/harbian-audit-0.4.1$ dpkg-buildpackage --sign-key=<your-gpg-key-id>
```
If don't sign the source package and the .buildinfo and .changes files
```
~/harbian-audit-0.4.1$ dpkg-buildpackage -us -uc
~/harbian-audit-0.4.1$ sha512sum ../harbianaudit_0.4.1-1_all.deb > ../harbianaudit_0.4.1-1_all.deb.sha512sum
```