From 62f1dfbbea342ff65839af22da0e0a106efb579b Mon Sep 17 00:00:00 2001 From: Jakub Matys Date: Mon, 15 Oct 2018 13:02:29 +0200 Subject: [PATCH] Added Debian source/format files --- build/docker/deb/build-deb.sh | 4 ++-- build/templates/backend/debian/source/format | 3 +++ build/templates/blockbook/debian/source/format | 3 +++ 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 build/templates/backend/debian/source/format create mode 100644 build/templates/blockbook/debian/source/format diff --git a/build/docker/deb/build-deb.sh b/build/docker/deb/build-deb.sh index cc9eda24..6c6369f1 100755 --- a/build/docker/deb/build-deb.sh +++ b/build/docker/deb/build-deb.sh @@ -20,7 +20,7 @@ go run build/templates/generate.go $coin # backend if ([ $package = "backend" ] || [ $package = "all" ]) && [ -d build/pkg-defs/backend ]; then - (cd build/pkg-defs/backend && dpkg-buildpackage -us -uc $@) + (cd build/pkg-defs/backend && dpkg-buildpackage -b -us -uc $@) fi # blockbook @@ -30,7 +30,7 @@ if ([ $package = "blockbook" ] || [ $package = "all" ]) && [ -d build/pkg-defs/b cp Makefile ldb sst_dump build/pkg-defs/blockbook cp -r /src/static build/pkg-defs/blockbook mkdir build/pkg-defs/blockbook/cert && cp /src/server/testcert.* build/pkg-defs/blockbook/cert - (cd build/pkg-defs/blockbook && dpkg-buildpackage -us -uc $@) + (cd build/pkg-defs/blockbook && dpkg-buildpackage -b -us -uc $@) fi # copy packages diff --git a/build/templates/backend/debian/source/format b/build/templates/backend/debian/source/format new file mode 100644 index 00000000..8b08b7c7 --- /dev/null +++ b/build/templates/backend/debian/source/format @@ -0,0 +1,3 @@ +{{define "main" -}} +3.0 (quilt) +{{- end -}} diff --git a/build/templates/blockbook/debian/source/format b/build/templates/blockbook/debian/source/format new file mode 100644 index 00000000..8b08b7c7 --- /dev/null +++ b/build/templates/blockbook/debian/source/format @@ -0,0 +1,3 @@ +{{define "main" -}} +3.0 (quilt) +{{- end -}}