Skip to content

Commit c5e7a85

Browse files
benschermelJohnSully
authored andcommitted
dh9 for stretch deb pkg
1 parent c367737 commit c5e7a85

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

pkg/deb/README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,19 @@
11
### KeyDB DEB Package Source Builds
22

3-
This directory contains scripts and components needed to generate debian packages on different distributions/architectures using source
3+
This directory contains scripts and components needed to generate debian packages on different distributions/architectures from source
44

5-
You will need to install pbuilder `sudo apt install pbuilder`
5+
You will need to install pbuilder `sudo apt install pbuilder` along with other distribution specific dependancies
66

77
Generate deb packages with the following script command run from this directory:
8+
89
```
910
$ ./deb-buildsource.sh
1011
```
12+
1113
This generates a directory structure, .dsc file, original.tar.gz, .changes files and new changelog for the distribution and architecture installed.
1214

1315
When complete the produced debian packages will be located in deb_files_generated directory.
1416

1517
Arguments for the deb-buildsource.sh script that can be passed are either 'None' or '"your custom comments"'. 'None' assumes a permanent changelog entry has been made listing the correct build for the version. If you quote and enter your own comment string, it will be appended to the changelog for that deb package. If no argument is passed a default comment is generated saying that this deb package was generated by this script.
1618

17-
This script has been tested on xenial/bionic/disco/stretch/buster
19+
This script has been tested on xenial/bionic/stretch/buster

pkg/deb/deb-buildsource.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ cd ../../../
2626
tar -czvf keydb_$version.orig.tar.gz --force-local KeyDB
2727
cd KeyDB/pkg/deb/
2828
mkdir -p $pkg_name/tmp
29-
if [ "$codename" == "xenial" ]; then
29+
if [[ "$codename" == "xenial" ]] || [[ "$codename" == "stretch" ]]; then
3030
cp -r debian_dh9 $pkg_name/tmp/debian
3131
else
3232
cp -r debian $pkg_name/tmp

0 commit comments

Comments
 (0)