[PATCH][XZAB] UBUNTU: [debian] use SRCPKGNAME in linux-headers Depends
Kamal Mostafa
kamal at canonical.com
Sat Jan 6 19:49:32 UTC 2018
On Thu, Jan 4, 2018 at 12:08 AM, Andy Whitcroft <apw at canonical.com> wrote:
> 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.
>
Hmmm. I hadn't thought about derivatives which might rely on it *not*
being applied. Do you know of one/some that you imagine would have a
problem with it?
Thanks,
-Kamal
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20180106/bd712c4d/attachment.html>
More information about the kernel-team
mailing list