From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-wr0-x243.google.com ([2a00:1450:400c:c0c::243]) by metis.ext.pengutronix.de with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1eg65l-0006gK-9a for ptxdist@pengutronix.de; Mon, 29 Jan 2018 10:51:37 +0100 Received: by mail-wr0-x243.google.com with SMTP id t16so6439483wrc.10 for ; Mon, 29 Jan 2018 01:51:09 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <20180126125819.6i5klyhtxl5ra23c@pengutronix.de> References: <20180126124030.37ehgkax5csjhfuz@falbala.home.lespocky.de> <20180126125819.6i5klyhtxl5ra23c@pengutronix.de> From: Guillermo Rodriguez Garcia Date: Mon, 29 Jan 2018 10:51:07 +0100 Message-ID: Subject: Re: [ptxdist] Platform-specific kernel patchset not applied to kernel headers package? List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: multipart/mixed; boundary="===============1218408780==" Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: ptxdist@pengutronix.de --===============1218408780== Content-Type: multipart/alternative; boundary="94eb2c1cbbda76aa1e0563e72fd3" --94eb2c1cbbda76aa1e0563e72fd3 Content-Type: text/plain; charset="UTF-8" 2018-01-26 13:58 GMT+01:00 Michael Olbrich : > Hi, > > On Fri, Jan 26, 2018 at 01:40:31PM +0100, Alexander Dahl wrote: > > On Fri, Jan 26, 2018 at 08:58:52AM +0100, Guillermo Rodriguez Garcia > wrote: > > > I am creating a ptxdist BSP and have a series. patchset for a > > > given kernel version. I have noticed that this patchset is ignored > when the > > > KERNEL_HEADER package is built -- instead, a "series" file is > automatically > > > created and used. > > > > > > Is this normal/expected? Shouldn't the series. file be used > > > instead? > > > > It is at least known. I stumbled over this last year: > > > > https://www.mail-archive.com/ptxdist@pengutronix.de/msg12233.html > > > > Michael gave some hints for possible workarounds. > > > Right, check that thread. > > Also, why do you need a 'series.' instead of a normal series > file? > I used series. because the BSP currently supports two platforms (two boards), and some of the patches are platform-specific. > And why do you need the patches for the kernel headers? > This is because I am building imx6 specific packages which require a set of kernel headers, and these must include imx6-specific bits. In the thread that Alexander mentioned in his reply you mention the following: 1. Move the patches to configs/platform-XXX/patches/linux-4.9.47/ and just use 'series'. I guess this solves my problem, however, just out of curiosity: If the kernel headers package will pick up the correct patchset from configs/platform-XXX/patches/linux-4.9.47, shouldn't it also pick it up if it lives in patches/linux-4.9.47/series.XXX ? Guillermo --94eb2c1cbbda76aa1e0563e72fd3 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


2018-01-26 13:58 GMT+01:00 Michael Olbrich <m.olbrich@pengutron= ix.de>:
= Hi,

On Fri, Jan 26, 2018 at 01:40:31PM +0100, Alexander Dahl wrote:
> On Fri, Jan 26, 2018 at 08:58:52AM +0100, Guillermo Rodriguez Garcia w= rote:
> > I am creating a ptxdist BSP and have a series.<platform> pa= tchset for a
> > given kernel version. I have noticed that this patchset is ignore= d when the
> > KERNEL_HEADER package is built -- instead, a "series" f= ile is automatically
> > created and used.
> >
> > Is this normal/expected? Shouldn't the series.<platform>= ; file be used
> > instead?
>
> It is at least known. I stumbled over this last year:
>
> https://www.mail-archive.com/<= wbr>ptxdist@pengutronix.de/msg12233.html
>
> Michael gave some hints for possible workarounds.


Right, check that thread.

Also, why do you need a 'series.<platform>' instead of a norm= al series file?

I used series.<platf= orm> because the BSP currently supports two platforms (two boards), and = some of the patches are platform-specific.
=C2=A0
And why do you need the patches for the kernel headers?

This is because I am building imx6 specific packages which= require a set of kernel headers, and these must include imx6-specific bits= .

In the thread that Alexander mentioned in his re= ply you mention the following:

1. Move the pa= tches to configs/platform-XXX/patches/linux-4.9.47/ and just use 'serie= s'.

I guess this solves my problem, howe= ver, just out of curiosity: If the kernel headers package will pick up the = correct patchset from configs/platform-XXX/patches/linux-4.9.47, shouldn= 9;t it also pick it up if it lives in patches/linux-4.9.47/series.XXX ?

Guillermo

--94eb2c1cbbda76aa1e0563e72fd3-- --===============1218408780== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KcHR4ZGlzdCBt YWlsaW5nIGxpc3QKcHR4ZGlzdEBwZW5ndXRyb25peC5kZQ== --===============1218408780==--