Skip to content

Commit e82fac2

Browse files
author
Samson-W
committed
Add sign method to how to build deb package doc.
1 parent 2e66b44 commit e82fac2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docs/configurations/debian-config-4-build-deb/how-to-build-deb-package.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,10 @@ $ tar zxvf V0.4.1.tar.gz
3434

3535
## Build deb package
3636
```
37+
~/harbian-audit-0.4.1$ dpkg-buildpackage --sign-key=<your-gpg-key-id>
38+
```
39+
If don't sign the source package and the .buildinfo and .changes files
40+
```
3741
~/harbian-audit-0.4.1$ dpkg-buildpackage -us -uc
3842
~/harbian-audit-0.4.1$ sha512sum ../harbianaudit_0.4.1-1_all.deb > ../harbianaudit_0.4.1-1_all.deb.sha512sum
3943
```
40-
41-

0 commit comments

Comments
 (0)