diff mbox

[Zesty,SRU] UBUNTU: [Debian] Use default compression for all packages

Message ID 1493311985-34055-1-git-send-email-seth.forshee@canonical.com
State New
Headers show

Commit Message

Seth Forshee April 27, 2017, 4:53 p.m. UTC
BugLink: http://bugs.launchpad.net/bugs/1686782

Currently we specify bzip2 compression for the main and extras
packages, but bzip2 is no longer permitted in artful and causes
a ftbfs. Switch to the default compression.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
---
 debian/rules.d/2-binary-arch.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Seth Forshee April 27, 2017, 5:05 p.m. UTC | #1
On Thu, Apr 27, 2017 at 11:53:05AM -0500, Seth Forshee wrote:
> BugLink: http://bugs.launchpad.net/bugs/1686782
> 
> Currently we specify bzip2 compression for the main and extras
> packages, but bzip2 is no longer permitted in artful and causes
> a ftbfs. Switch to the default compression.

A couple extra details to answer questions which might arise.

The reason for needing this in zesty is that we're currently copying
forward zesty kernels to artful, where it is causing us problems.

I'm told the original reason for using bzip2 was build times. But since
we're only using bzip2 for the main and extras packages the difference
is unlikely to be substantial, and comparision of ppa builds with and
without this patch bear that out.

Seth
Brad Figg April 27, 2017, 9 p.m. UTC | #2

Andy Whitcroft April 28, 2017, 9 a.m. UTC | #3
On Thu, Apr 27, 2017 at 11:53:05AM -0500, Seth Forshee wrote:
> BugLink: http://bugs.launchpad.net/bugs/1686782
> 
> Currently we specify bzip2 compression for the main and extras
> packages, but bzip2 is no longer permitted in artful and causes
> a ftbfs. Switch to the default compression.
> 
> Signed-off-by: Seth Forshee <seth.forshee@canonical.com>
> ---
>  debian/rules.d/2-binary-arch.mk | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk
> index 627d869f9aa7..edda3f3ba845 100644
> --- a/debian/rules.d/2-binary-arch.mk
> +++ b/debian/rules.d/2-binary-arch.mk
> @@ -471,7 +471,7 @@ binary-%: install-%
>  	dh_shlibdeps -p$(pkgimg) $(shlibdeps_opts)
>  	$(lockme) dh_gencontrol -p$(pkgimg) -- -Vlinux:rprovides='$(rprovides)'
>  	dh_md5sums -p$(pkgimg)
> -	dh_builddeb -p$(pkgimg) -- -Zbzip2 -z9
> +	dh_builddeb -p$(pkgimg)
>  
>  ifeq ($(do_extras_package),true)
>  	if [ -f $(DEBIAN)/control.d/$(target_flavour).inclusion-list ] ; then \
> @@ -483,7 +483,7 @@ ifeq ($(do_extras_package),true)
>  		dh_shlibdeps -p$(pkgimg_ex) $(shlibdeps_opts); \
>  		$(lockme) dh_gencontrol -p$(pkgimg_ex); \
>  		dh_md5sums -p$(pkgimg_ex); \
> -		dh_builddeb -p$(pkgimg_ex) -- -Zbzip2 -z9; \
> +		dh_builddeb -p$(pkgimg_ex); \
>  	fi
>  endif
>  
> -- 
> 2.7.4

Should be benign as the consumers are already using the default for
other packages.

Acked-by: Andy Whitcroft <apw@canonical.com>

-apw
Kleber Sacilotto de Souza April 28, 2017, 10:49 a.m. UTC | #4

diff mbox

Patch

diff --git a/debian/rules.d/2-binary-arch.mk b/debian/rules.d/2-binary-arch.mk
index 627d869f9aa7..edda3f3ba845 100644
--- a/debian/rules.d/2-binary-arch.mk
+++ b/debian/rules.d/2-binary-arch.mk
@@ -471,7 +471,7 @@  binary-%: install-%
 	dh_shlibdeps -p$(pkgimg) $(shlibdeps_opts)
 	$(lockme) dh_gencontrol -p$(pkgimg) -- -Vlinux:rprovides='$(rprovides)'
 	dh_md5sums -p$(pkgimg)
-	dh_builddeb -p$(pkgimg) -- -Zbzip2 -z9
+	dh_builddeb -p$(pkgimg)
 
 ifeq ($(do_extras_package),true)
 	if [ -f $(DEBIAN)/control.d/$(target_flavour).inclusion-list ] ; then \
@@ -483,7 +483,7 @@  ifeq ($(do_extras_package),true)
 		dh_shlibdeps -p$(pkgimg_ex) $(shlibdeps_opts); \
 		$(lockme) dh_gencontrol -p$(pkgimg_ex); \
 		dh_md5sums -p$(pkgimg_ex); \
-		dh_builddeb -p$(pkgimg_ex) -- -Zbzip2 -z9; \
+		dh_builddeb -p$(pkgimg_ex); \
 	fi
 endif