[1/2] linux-custom: correct name of linux-libc-dev package

Message ID 20220413120256.165-2-Cedric_Hombourger@mentor.com
State Accepted, archived
Headers show
Series linux-custom: fix building of the linux-libc-dev package | expand

Commit Message

Cedric Hombourger April 13, 2022, 4:02 a.m. UTC
When checking whether to install libc headers, the package to check for
is linux-libc-dev, not linux-libc-headers. The typo caused the generated
linux-libc-dev to be (almost) empty.

Signed-off-by: Cedric Hombourger <Cedric_Hombourger@mentor.com>
---
 meta/recipes-kernel/linux/files/debian/isar/install.tmpl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-kernel/linux/files/debian/isar/install.tmpl b/meta/recipes-kernel/linux/files/debian/isar/install.tmpl
index 69fb88d..4c8c889 100644
--- a/meta/recipes-kernel/linux/files/debian/isar/install.tmpl
+++ b/meta/recipes-kernel/linux/files/debian/isar/install.tmpl
@@ -200,7 +200,7 @@  kernel_headers() {
 
 install_headers() {
     headers_check
-    [ -z ${kern_pkgs["linux-libc-headers"]} ] || libc_headers
+    [ -z ${kern_pkgs["linux-libc-dev"]} ] || libc_headers
     kernel_headers
 }