[v1,1/2] meta/recipes-kernel/linux: correct the kernel header dir name

Message ID 20241014152440.1310394-1-srinuvasan.a@siemens.com
State Accepted, archived
Headers show
Series [v1,1/2] meta/recipes-kernel/linux: correct the kernel header dir name | expand

Commit Message

srinuvasan.a Oct. 14, 2024, 3:24 p.m. UTC
From: srinuvasan <srinuvasan.a@siemens.com>

Presently kernel headers packages not cleaned in the do_clean stage
of kernel build process, this is due to we are referring wrong directory name
during clean stage.

Updated the correct dir name as "deb_kern_hdr_dir".

Signed-off-by: srinuvasan <srinuvasan.a@siemens.com>
---
 meta/recipes-kernel/linux/files/debian/isar/clean.tmpl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Uladzimir Bely Oct. 21, 2024, 10:51 a.m. UTC | #1
On Mon, 2024-10-14 at 20:54 +0530, srinuvasan.a via isar-users wrote:
> From: srinuvasan <srinuvasan.a@siemens.com>
> 
> Presently kernel headers packages not cleaned in the do_clean stage
> of kernel build process, this is due to we are referring wrong
> directory name
> during clean stage.
> 
> Updated the correct dir name as "deb_kern_hdr_dir".
> 
> Signed-off-by: srinuvasan <srinuvasan.a@siemens.com>
> ---
>  meta/recipes-kernel/linux/files/debian/isar/clean.tmpl | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-kernel/linux/files/debian/isar/clean.tmpl
> b/meta/recipes-kernel/linux/files/debian/isar/clean.tmpl
> index bc67595b..8cceb6e2 100644
> --- a/meta/recipes-kernel/linux/files/debian/isar/clean.tmpl
> +++ b/meta/recipes-kernel/linux/files/debian/isar/clean.tmpl
> @@ -11,7 +11,7 @@ do_clean() {
>      set -x
>  
>      rm -rf ${deb_img_dir} ${deb_dbg_dir}
> -    rm -rf ${deb_kern_hdrdir}
> +    rm -rf ${deb_kern_hdr_dir}
>      rm -rf ${deb_libc_hdr_dir}
>  
>      # Stop tracing
> -- 
> 2.39.5
> 

Applied to next, thanks.

Patch

diff --git a/meta/recipes-kernel/linux/files/debian/isar/clean.tmpl b/meta/recipes-kernel/linux/files/debian/isar/clean.tmpl
index bc67595b..8cceb6e2 100644
--- a/meta/recipes-kernel/linux/files/debian/isar/clean.tmpl
+++ b/meta/recipes-kernel/linux/files/debian/isar/clean.tmpl
@@ -11,7 +11,7 @@  do_clean() {
     set -x
 
     rm -rf ${deb_img_dir} ${deb_dbg_dir}
-    rm -rf ${deb_kern_hdrdir}
+    rm -rf ${deb_kern_hdr_dir}
     rm -rf ${deb_libc_hdr_dir}
 
     # Stop tracing