From f28ffc244c8a45704cd3b6280f4cbe77dd6889a7 Mon Sep 17 00:00:00 2001 From: GoldenKiwi Date: Tue, 2 May 2023 18:06:59 +0200 Subject: [PATCH] fix: correct debian package compression override (#181) --- .github/workflows/pre-release.yml | 2 +- .github/workflows/tagged-release.yml | 2 +- debian/rules | 3 +++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pre-release.yml b/.github/workflows/pre-release.yml index 7f6f01c..de1d799 100644 --- a/.github/workflows/pre-release.yml +++ b/.github/workflows/pre-release.yml @@ -17,7 +17,7 @@ jobs: run: | sudo apt-get update sudo apt-get install -y build-essential devscripts debhelper - sudo debuild --buildinfo-option=-O -us -uc -b -j8 --compression=xz + sudo debuild --buildinfo-option=-O -us -uc -b -j8 find ../ -name "*.deb" -exec mv {} cis-hardening.deb \; # DELETE THE TAG NAMED LATEST AND THE CORRESPONDING RELEASE - name: Delete the tag latest and the release latest diff --git a/.github/workflows/tagged-release.yml b/.github/workflows/tagged-release.yml index d2c5b4d..28eb317 100644 --- a/.github/workflows/tagged-release.yml +++ b/.github/workflows/tagged-release.yml @@ -29,7 +29,7 @@ jobs: run: | sudo apt-get update sudo apt-get install -y build-essential devscripts debhelper - sudo debuild --buildinfo-option=-O -us -uc -b -j8 --compression=xz + sudo debuild --buildinfo-option=-O -us -uc -b -j8 find ../ -name "*.deb" -exec mv {} cis-hardening.deb \; # DELETE THE TAG NAMED LATEST AND THE CORRESPONDING RELEASE - name: Delete the tag latest and the release latest diff --git a/debian/rules b/debian/rules index 0cb1084..2ed6031 100755 --- a/debian/rules +++ b/debian/rules @@ -16,6 +16,9 @@ PACKAGE = $(shell dh_listpackages) %: dh $@ +override_dh_builddeb: + dh_builddeb -- -Zxz + override_dh_install: dh_install mkdir -p $(CURDIR)/debian/$(PACKAGE)/opt/$(PACKAGE)/