diff mbox

[xenial/azure/master,1/1] UBUNTU: [Config] linux-tools-* linux-cloud-tools-* share -common packages with linux

Message ID 20170509175209.20241-3-apw@canonical.com
State New
Headers show

Commit Message

Andy Whitcroft May 9, 2017, 5:52 p.m. UTC
We should be using the primary linux-tools-common and
linux-cloud-tools-common packages not making our own.  Switch our
dependencies over to those and stop building these packages.

BugLink: http://bugs.launchpad.net/bugs/1688579
Signed-off-by: Andy Whitcroft <apw@canonical.com>
---
 debian.azure/control.stub.in | 27 ++-------------------------
 1 file changed, 2 insertions(+), 25 deletions(-)

Comments

Marcelo Henrique Cerri May 10, 2017, 1:20 p.m. UTC | #1
Maybe we should use do_tools_common=false for that.

On Tue, May 09, 2017 at 06:52:05PM +0100, Andy Whitcroft wrote:
> We should be using the primary linux-tools-common and
> linux-cloud-tools-common packages not making our own.  Switch our
> dependencies over to those and stop building these packages.
> 
> BugLink: http://bugs.launchpad.net/bugs/1688579
> Signed-off-by: Andy Whitcroft <apw@canonical.com>
> ---
>  debian.azure/control.stub.in | 27 ++-------------------------
>  1 file changed, 2 insertions(+), 25 deletions(-)
> 
> diff --git a/debian.azure/control.stub.in b/debian.azure/control.stub.in
> index ec89236eb62d..498d8df2b41c 100644
> --- a/debian.azure/control.stub.in
> +++ b/debian.azure/control.stub.in
> @@ -84,24 +84,12 @@ Description: Header files related to Linux kernel version PKGVER
>   that want the latest kernel headers. Please read
>   /usr/share/doc/SRCPKGNAME-headers-PKGVER-ABINUM/debian.README.gz for details
>  
> -Package: SRCPKGNAME-tools-common
> -Build-Profiles: <!stage1>
> -Architecture: all
> -Multi-Arch: foreign
> -Section: kernel
> -Priority: optional
> -Depends: ${misc:Depends}
> -Description: Linux kernel version specific tools for version PKGVER
> - This package provides the architecture independent parts for kernel
> - version locked tools (such as perf and x86_energy_perf_policy) for
> - version PGKVER.
> -
>  Package: SRCPKGNAME-tools-PKGVER-ABINUM
>  Build-Profiles: <!stage1>
>  Architecture: amd64
>  Section: devel
>  Priority: optional
> -Depends: ${misc:Depends}, ${shlibs:Depends}, SRCPKGNAME-tools-common
> +Depends: ${misc:Depends}, ${shlibs:Depends}, linux-tools-common
>  Description: Linux kernel version specific tools for version PKGVER-ABINUM
>   This package provides the architecture dependant parts for kernel
>   version locked tools (such as perf and x86_energy_perf_policy) for
> @@ -109,23 +97,12 @@ Description: Linux kernel version specific tools for version PKGVER-ABINUM
>   =HUMAN=.
>   You probably want to install linux-tools-PKGVER-ABINUM-<flavour>.
>  
> -Package: SRCPKGNAME-cloud-tools-common
> -Build-Profiles: <!stage1>
> -Architecture: all
> -Multi-Arch: foreign
> -Section: kernel
> -Priority: optional
> -Depends: ${misc:Depends}
> -Description: Linux kernel version specific cloud tools for version PKGVER
> - This package provides the architecture independent parts for kernel
> - version locked tools for cloud tools for version PGKVER.
> -
>  Package: SRCPKGNAME-cloud-tools-PKGVER-ABINUM
>  Build-Profiles: <!stage1>
>  Architecture: amd64
>  Section: devel
>  Priority: optional
> -Depends: ${misc:Depends}, ${shlibs:Depends}, SRCPKGNAME-cloud-tools-common
> +Depends: ${misc:Depends}, ${shlibs:Depends}, linux-cloud-tools-common
>  Description: Linux kernel version specific cloud tools for version PKGVER-ABINUM
>   This package provides the architecture dependant parts for kernel
>   version locked tools for cloud tools for version PKGVER-ABINUM on
> -- 
> 2.11.0
> 
> 
> -- 
> kernel-team mailing list
> kernel-team@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team
Marcelo Henrique Cerri May 15, 2017, 11:44 a.m. UTC | #2

diff mbox

Patch

diff --git a/debian.azure/control.stub.in b/debian.azure/control.stub.in
index ec89236eb62d..498d8df2b41c 100644
--- a/debian.azure/control.stub.in
+++ b/debian.azure/control.stub.in
@@ -84,24 +84,12 @@  Description: Header files related to Linux kernel version PKGVER
  that want the latest kernel headers. Please read
  /usr/share/doc/SRCPKGNAME-headers-PKGVER-ABINUM/debian.README.gz for details
 
-Package: SRCPKGNAME-tools-common
-Build-Profiles: <!stage1>
-Architecture: all
-Multi-Arch: foreign
-Section: kernel
-Priority: optional
-Depends: ${misc:Depends}
-Description: Linux kernel version specific tools for version PKGVER
- This package provides the architecture independent parts for kernel
- version locked tools (such as perf and x86_energy_perf_policy) for
- version PGKVER.
-
 Package: SRCPKGNAME-tools-PKGVER-ABINUM
 Build-Profiles: <!stage1>
 Architecture: amd64
 Section: devel
 Priority: optional
-Depends: ${misc:Depends}, ${shlibs:Depends}, SRCPKGNAME-tools-common
+Depends: ${misc:Depends}, ${shlibs:Depends}, linux-tools-common
 Description: Linux kernel version specific tools for version PKGVER-ABINUM
  This package provides the architecture dependant parts for kernel
  version locked tools (such as perf and x86_energy_perf_policy) for
@@ -109,23 +97,12 @@  Description: Linux kernel version specific tools for version PKGVER-ABINUM
  =HUMAN=.
  You probably want to install linux-tools-PKGVER-ABINUM-<flavour>.
 
-Package: SRCPKGNAME-cloud-tools-common
-Build-Profiles: <!stage1>
-Architecture: all
-Multi-Arch: foreign
-Section: kernel
-Priority: optional
-Depends: ${misc:Depends}
-Description: Linux kernel version specific cloud tools for version PKGVER
- This package provides the architecture independent parts for kernel
- version locked tools for cloud tools for version PGKVER.
-
 Package: SRCPKGNAME-cloud-tools-PKGVER-ABINUM
 Build-Profiles: <!stage1>
 Architecture: amd64
 Section: devel
 Priority: optional
-Depends: ${misc:Depends}, ${shlibs:Depends}, SRCPKGNAME-cloud-tools-common
+Depends: ${misc:Depends}, ${shlibs:Depends}, linux-cloud-tools-common
 Description: Linux kernel version specific cloud tools for version PKGVER-ABINUM
  This package provides the architecture dependant parts for kernel
  version locked tools for cloud tools for version PKGVER-ABINUM on