[PATCH][XZAB] UBUNTU: [debian] use SRCPKGNAME in linux-headers Depends

Andy Whitcroft apw at canonical.com
Thu Jan 4 08:08:05 UTC 2018


On Wed, Dec 20, 2017 at 02:44:59PM -0800, Kamal Mostafa wrote:
> Use the SRCPKGNAME macro instead of hardcoded "linux" in the Depends for
> linux-headers-PKGVER-ABINUM-FLAVOUR, to provide the correct package name
> for derivative kernels with a different SRCPKGNAME.
> 
> Ignore: yes
> 
> Signed-off-by: Kamal Mostafa <kamal at canonical.com>
> ---
>  debian.master/control.d/flavour-control.stub | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/debian.master/control.d/flavour-control.stub b/debian.master/control.d/flavour-control.stub
> index 6206071..cb14fea 100644
> --- a/debian.master/control.d/flavour-control.stub
> +++ b/debian.master/control.d/flavour-control.stub
> @@ -74,7 +74,7 @@ Build-Profiles: <!stage1>
>  Architecture: ARCH
>  Section: devel
>  Priority: optional
> -Depends: ${misc:Depends}, linux-headers-PKGVER-ABINUM, ${shlibs:Depends}
> +Depends: ${misc:Depends}, SRCPKGNAME-headers-PKGVER-ABINUM, ${shlibs:Depends}
>  Provides: linux-headers, linux-headers-3.0
>  Description: Linux kernel headers for version PKGVER on DESC
>   This package provides kernel header files for version PKGVER on

This will have fallout for derivative branches.  Some will already carry
this patch, some will rely on it not being applied.  Keep this in mind
when building and testing derivatives after application to the master.

-apw




More information about the kernel-team mailing list