diff mbox series

[meta-security] linux-yocto: drop version from bbappends

Message ID 20230130110106.4002198-1-mikko.rapeli@linaro.org
State New
Headers show
Series [meta-security] linux-yocto: drop version from bbappends | expand

Commit Message

Mikko Rapeli Jan. 30, 2023, 11:01 a.m. UTC
These bbappends apply to multiple kernel versions so no
need to make them version dependent. Fixes recipe parsing when
using meta-security master branch on kirkstone. In our custom layer we
set layer compatibility for kirkstone and I understand why meta-security
upstream would not want to do that:

LAYERSERIES_COMPAT_security-layer += 'kirkstone'
LAYERSERIES_COMPAT_parsec-layer += 'kirkstone'
LAYERSERIES_COMPAT_tpm-layer += 'kirkstone'

While I work towards supporting also yocto master branch and newer
releases than kirkstone, I would appreciate if I would not have to
branch off layers over minor details like this.

Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
---
 .../linux/{linux-yocto_6.%.bbappend => linux-yocto_%.bbappend}    | 0
 .../linux/{linux-yocto_6.%.bbappend => linux-yocto_%.bbappend}    | 0
 2 files changed, 0 insertions(+), 0 deletions(-)
 rename meta-tpm/recipes-kernel/linux/{linux-yocto_6.%.bbappend => linux-yocto_%.bbappend} (100%)
 rename recipes-kernel/linux/{linux-yocto_6.%.bbappend => linux-yocto_%.bbappend} (100%)

Comments

akuster808 Feb. 1, 2023, 1:19 p.m. UTC | #1
On 1/30/23 6:01 AM, Mikko Rapeli wrote:
> These bbappends apply to multiple kernel versions so no
> need to make them version dependent. Fixes recipe parsing when
> using meta-security master branch on kirkstone. In our custom layer we
> set layer compatibility for kirkstone and I understand why meta-security
> upstream would not want to do that:
>
> LAYERSERIES_COMPAT_security-layer += 'kirkstone'
> LAYERSERIES_COMPAT_parsec-layer += 'kirkstone'
> LAYERSERIES_COMPAT_tpm-layer += 'kirkstone'
>
> While I work towards supporting also yocto master branch and newer
> releases than kirkstone, I would appreciate if I would not have to
> branch off layers over minor details like this.

Is this a dup of the one sent earlier?

-armin
>
> Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
> ---
>   .../linux/{linux-yocto_6.%.bbappend => linux-yocto_%.bbappend}    | 0
>   .../linux/{linux-yocto_6.%.bbappend => linux-yocto_%.bbappend}    | 0
>   2 files changed, 0 insertions(+), 0 deletions(-)
>   rename meta-tpm/recipes-kernel/linux/{linux-yocto_6.%.bbappend => linux-yocto_%.bbappend} (100%)
>   rename recipes-kernel/linux/{linux-yocto_6.%.bbappend => linux-yocto_%.bbappend} (100%)
>
> diff --git a/meta-tpm/recipes-kernel/linux/linux-yocto_6.%.bbappend b/meta-tpm/recipes-kernel/linux/linux-yocto_%.bbappend
> similarity index 100%
> rename from meta-tpm/recipes-kernel/linux/linux-yocto_6.%.bbappend
> rename to meta-tpm/recipes-kernel/linux/linux-yocto_%.bbappend
> diff --git a/recipes-kernel/linux/linux-yocto_6.%.bbappend b/recipes-kernel/linux/linux-yocto_%.bbappend
> similarity index 100%
> rename from recipes-kernel/linux/linux-yocto_6.%.bbappend
> rename to recipes-kernel/linux/linux-yocto_%.bbappend
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#59099): https://lists.yoctoproject.org/g/yocto/message/59099
> Mute This Topic: https://lists.yoctoproject.org/mt/96625229/3616698
> Group Owner: yocto+owner@lists.yoctoproject.org
> Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [akuster808@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Mikko Rapeli Feb. 1, 2023, 3:02 p.m. UTC | #2
Hi,

On Wed, Feb 01, 2023 at 08:19:42AM -0500, akuster808 wrote:
> 
> 
> On 1/30/23 6:01 AM, Mikko Rapeli wrote:
> > These bbappends apply to multiple kernel versions so no
> > need to make them version dependent. Fixes recipe parsing when
> > using meta-security master branch on kirkstone. In our custom layer we
> > set layer compatibility for kirkstone and I understand why meta-security
> > upstream would not want to do that:
> > 
> > LAYERSERIES_COMPAT_security-layer += 'kirkstone'
> > LAYERSERIES_COMPAT_parsec-layer += 'kirkstone'
> > LAYERSERIES_COMPAT_tpm-layer += 'kirkstone'
> > 
> > While I work towards supporting also yocto master branch and newer
> > releases than kirkstone, I would appreciate if I would not have to
> > branch off layers over minor details like this.
> 
> Is this a dup of the one sent earlier?

Yes, I wasn't sure if I was on the mailing list or not and send-emailed
another one after I was correctly subscribed.

Cheers,

-Mikko

> -armin
> > 
> > Signed-off-by: Mikko Rapeli <mikko.rapeli@linaro.org>
> > ---
> >   .../linux/{linux-yocto_6.%.bbappend => linux-yocto_%.bbappend}    | 0
> >   .../linux/{linux-yocto_6.%.bbappend => linux-yocto_%.bbappend}    | 0
> >   2 files changed, 0 insertions(+), 0 deletions(-)
> >   rename meta-tpm/recipes-kernel/linux/{linux-yocto_6.%.bbappend => linux-yocto_%.bbappend} (100%)
> >   rename recipes-kernel/linux/{linux-yocto_6.%.bbappend => linux-yocto_%.bbappend} (100%)
> > 
> > diff --git a/meta-tpm/recipes-kernel/linux/linux-yocto_6.%.bbappend b/meta-tpm/recipes-kernel/linux/linux-yocto_%.bbappend
> > similarity index 100%
> > rename from meta-tpm/recipes-kernel/linux/linux-yocto_6.%.bbappend
> > rename to meta-tpm/recipes-kernel/linux/linux-yocto_%.bbappend
> > diff --git a/recipes-kernel/linux/linux-yocto_6.%.bbappend b/recipes-kernel/linux/linux-yocto_%.bbappend
> > similarity index 100%
> > rename from recipes-kernel/linux/linux-yocto_6.%.bbappend
> > rename to recipes-kernel/linux/linux-yocto_%.bbappend
> > 
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#59099): https://lists.yoctoproject.org/g/yocto/message/59099
> > Mute This Topic: https://lists.yoctoproject.org/mt/96625229/3616698
> > Group Owner: yocto+owner@lists.yoctoproject.org
> > Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [akuster808@gmail.com]
> > -=-=-=-=-=-=-=-=-=-=-=-
> > 
>
diff mbox series

Patch

diff --git a/meta-tpm/recipes-kernel/linux/linux-yocto_6.%.bbappend b/meta-tpm/recipes-kernel/linux/linux-yocto_%.bbappend
similarity index 100%
rename from meta-tpm/recipes-kernel/linux/linux-yocto_6.%.bbappend
rename to meta-tpm/recipes-kernel/linux/linux-yocto_%.bbappend
diff --git a/recipes-kernel/linux/linux-yocto_6.%.bbappend b/recipes-kernel/linux/linux-yocto_%.bbappend
similarity index 100%
rename from recipes-kernel/linux/linux-yocto_6.%.bbappend
rename to recipes-kernel/linux/linux-yocto_%.bbappend