All of lore.kernel.org
 help / color / mirror / Atom feed
* recipe-sysroot doesn't contain kernel patch
@ 2021-07-20 11:17 Sousa Eduardo (XC-CI2/ESD52)
  2021-07-20 11:24 ` [bitbake-devel] " Alexandre Belloni
  0 siblings, 1 reply; 3+ messages in thread
From: Sousa Eduardo (XC-CI2/ESD52) @ 2021-07-20 11:17 UTC (permalink / raw)
  To: bitbake-devel

[-- Attachment #1: Type: text/plain, Size: 2622 bytes --]

Hello,

I’m currently developing a custom yocto layer in AGL and did a kernel patch to contain IFLA_CAN_TERMINATION macro in the linux/can/netlink.h file since the kernel I’m using doesn’t contain it.
The problem is that in the output of the kernel compilation the patch was applied, but when bitbake compiles systemd it raises an error saying there is no IFLA_CAN_TERMINATION declared. Checked recipe-sysroot and it isn’t patched.
What can be the source of the problem?

Thank you.

Cumprimentos / Best regards,

Eduardo Sousa

Engineering Software Department D Braga (XC-CI2/ESD5)
Bosch Car Multimédia Portugal, S.A. | Apartado 2458 | 4701-970 Braga | PORTUGAL | www.bosch.pt
Eduardo.Sousa2@pt.bosch.com<mailto:Eduardo.Sousa2@pt.bosch.com>

Sede: Rua Max Grundig, n.º 35 | Freguesia: Lomar e Arcos | 4705-820 Braga - Portugal
Capital Social: 7 044 300 EUR | NIPC: PT 502 315 407 | CRC: Braga
Administradores: Carlos Ribas, André Reis

O responsável pelo tratamento dos seus dados pessoais é a entidade jurídica do Grupo Bosch em Portugal, que tem uma relação comercial/legal consigo ou com a empresa em que trabalha. O responsável processará os seus dados pessoais com o único objetivo de garantir a manutenção do relacionamento mencionado. Pode exercer o seu direito de acesso, retificação, portabilidade de dados, apagamento, limitação e revogação ao tratamento de dados, usando os mecanismos definidos na nossa Política de Privacidade<https://www.bosch.pt/media/locations/politica_privacidade_po_06032020.pdf> , onde poderá encontrar mais informações sobre o tratamento dos seus dados pessoais. As informações contidas nesta mensagem são confidenciais. Se recebeu esta mensagem por engano, por favor elimine-a imediatamente e informe-nos por esta via.

The controller of the processing of your personal data is the Legal entity of the Bosch Group in Portugal that has a commercial/legal relationship with you or with the company you are working for. The controller will process your personal data for the sole purpose of ensuring the maintenance of the mentioned relationship. You may exercise your right of access, rectification, data portability, erasure, limitation and object to the data processing, using the mechanisms defined in our Privacy Policy<https://www.bosch.pt/media/locations/politica_privacidade_en_06032020.pdf> where you may find more information regarding the processing of your personal data. The information contained herein is confidential. If you received this message by mistake, please delete it immediately and inform us.



​

[-- Attachment #2: Type: text/html, Size: 6618 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [bitbake-devel] recipe-sysroot doesn't contain kernel patch
  2021-07-20 11:17 recipe-sysroot doesn't contain kernel patch Sousa Eduardo (XC-CI2/ESD52)
@ 2021-07-20 11:24 ` Alexandre Belloni
  2021-07-20 19:20   ` Khem Raj
  0 siblings, 1 reply; 3+ messages in thread
From: Alexandre Belloni @ 2021-07-20 11:24 UTC (permalink / raw)
  To: eduardo.sousa2; +Cc: bitbake-devel

Hi,

On 20/07/2021 11:17:52+0000, Sousa Eduardo (XC-CI2/ESD52) via lists.openembedded.org wrote:
> Hello,
> 
> I’m currently developing a custom yocto layer in AGL and did a kernel patch to contain IFLA_CAN_TERMINATION macro in the linux/can/netlink.h file since the kernel I’m using doesn’t contain it.
> The problem is that in the output of the kernel compilation the patch was applied, but when bitbake compiles systemd it raises an error saying there is no IFLA_CAN_TERMINATION declared. Checked recipe-sysroot and it isn’t patched.
> What can be the source of the problem?
> 

The recipe providing the kernel headers to the libc is
linux-libc-headers, not the kernel recipe.

-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [bitbake-devel] recipe-sysroot doesn't contain kernel patch
  2021-07-20 11:24 ` [bitbake-devel] " Alexandre Belloni
@ 2021-07-20 19:20   ` Khem Raj
  0 siblings, 0 replies; 3+ messages in thread
From: Khem Raj @ 2021-07-20 19:20 UTC (permalink / raw)
  To: Alexandre Belloni; +Cc: eduardo.sousa2, bitbake-devel

On Tue, Jul 20, 2021 at 4:24 AM Alexandre Belloni
<alexandre.belloni@bootlin.com> wrote:
>
> Hi,
>
> On 20/07/2021 11:17:52+0000, Sousa Eduardo (XC-CI2/ESD52) via lists.openembedded.org wrote:
> > Hello,
> >
> > I’m currently developing a custom yocto layer in AGL and did a kernel patch to contain IFLA_CAN_TERMINATION macro in the linux/can/netlink.h file since the kernel I’m using doesn’t contain it.
> > The problem is that in the output of the kernel compilation the patch was applied, but when bitbake compiles systemd it raises an error saying there is no IFLA_CAN_TERMINATION declared. Checked recipe-sysroot and it isn’t patched.
> > What can be the source of the problem?
> >
>
> The recipe providing the kernel headers to the libc is
> linux-libc-headers, not the kernel recipe.
>

right and you want to really take a hard look at why your userspace
depends on customized UAPIs

> --
> Alexandre Belloni, co-owner and COO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
>
> 
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-07-20 19:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-20 11:17 recipe-sysroot doesn't contain kernel patch Sousa Eduardo (XC-CI2/ESD52)
2021-07-20 11:24 ` [bitbake-devel] " Alexandre Belloni
2021-07-20 19:20   ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.