diff mbox series

kernel-yocto: fix kernel-meta data detection

Message ID 20230214102646.3390984-1-u.oelmann@pengutronix.de
State Accepted, archived
Commit c77754f23e3fb49a62602a6c6a04d5525d1cf457
Headers show
Series kernel-yocto: fix kernel-meta data detection | expand

Commit Message

Ulrich Ölmann Feb. 14, 2023, 10:26 a.m. UTC
Fixes: 7ef7af5c03ba ("kernel-yocto: restore kernel-meta data detection for SRC_URI elements")
Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
---
 meta/classes-recipe/kernel-yocto.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Bruce Ashfield Feb. 14, 2023, 1:57 p.m. UTC | #1
Indeed.

Clearly not something anyone is using very often. Good catch on that typo!

Bruce

On Tue, Feb 14, 2023 at 5:26 AM Ulrich Ölmann <u.oelmann@pengutronix.de> wrote:
>
> Fixes: 7ef7af5c03ba ("kernel-yocto: restore kernel-meta data detection for SRC_URI elements")
> Signed-off-by: Ulrich Ölmann <u.oelmann@pengutronix.de>
> ---
>  meta/classes-recipe/kernel-yocto.bbclass | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/classes-recipe/kernel-yocto.bbclass b/meta/classes-recipe/kernel-yocto.bbclass
> index 1a6695ba7e35..7de99cff5642 100644
> --- a/meta/classes-recipe/kernel-yocto.bbclass
> +++ b/meta/classes-recipe/kernel-yocto.bbclass
> @@ -212,7 +212,7 @@ do_kernel_metadata() {
>         # SRC_URI. If they were supplied, we convert them into include directives
>         # for the update part of the process
>         for f in ${feat_dirs}; do
> -               if [ -d "${WORKDIR}/$f/meta" ]; then
> +               if [ -d "${WORKDIR}/$f/kernel-meta" ]; then
>                         includes="$includes -I${WORKDIR}/$f/kernel-meta"
>                 elif [ -d "${WORKDIR}/../oe-local-files/$f" ]; then
>                         includes="$includes -I${WORKDIR}/../oe-local-files/$f"
> --
> 2.30.2
>
diff mbox series

Patch

diff --git a/meta/classes-recipe/kernel-yocto.bbclass b/meta/classes-recipe/kernel-yocto.bbclass
index 1a6695ba7e35..7de99cff5642 100644
--- a/meta/classes-recipe/kernel-yocto.bbclass
+++ b/meta/classes-recipe/kernel-yocto.bbclass
@@ -212,7 +212,7 @@  do_kernel_metadata() {
 	# SRC_URI. If they were supplied, we convert them into include directives
 	# for the update part of the process
 	for f in ${feat_dirs}; do
-		if [ -d "${WORKDIR}/$f/meta" ]; then
+		if [ -d "${WORKDIR}/$f/kernel-meta" ]; then
 			includes="$includes -I${WORKDIR}/$f/kernel-meta"
 		elif [ -d "${WORKDIR}/../oe-local-files/$f" ]; then
 			includes="$includes -I${WORKDIR}/../oe-local-files/$f"