public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH 0/2] linux-custom: fix building of the linux-libc-dev package
@ 2022-04-13 12:02 Cedric Hombourger
  2022-04-13 12:02 ` [PATCH 1/2] linux-custom: correct name of " Cedric Hombourger
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Cedric Hombourger @ 2022-04-13 12:02 UTC (permalink / raw)
  To: isar-users; +Cc: Cedric Hombourger

Two small issues were causing the linux-libc-dev package produced by
linux-custom to be an empty package.

Cedric Hombourger (2):
  linux-custom: correct name of linux-libc-dev package
  linux-custom: add rsync to build dependencies

 meta/recipes-kernel/linux/files/debian/isar/install.tmpl | 2 +-
 meta/recipes-kernel/linux/linux-custom.inc               | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

-- 
2.30.2


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

* [PATCH 1/2] linux-custom: correct name of linux-libc-dev package
  2022-04-13 12:02 [PATCH 0/2] linux-custom: fix building of the linux-libc-dev package Cedric Hombourger
@ 2022-04-13 12:02 ` Cedric Hombourger
  2022-04-13 12:02 ` [PATCH 2/2] linux-custom: add rsync to build dependencies Cedric Hombourger
  2022-05-05 10:17 ` [PATCH 0/2] linux-custom: fix building of the linux-libc-dev package Anton Mikanovich
  2 siblings, 0 replies; 4+ messages in thread
From: Cedric Hombourger @ 2022-04-13 12:02 UTC (permalink / raw)
  To: isar-users; +Cc: Cedric Hombourger

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(-)

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
 }
 
-- 
2.30.2


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

* [PATCH 2/2] linux-custom: add rsync to build dependencies
  2022-04-13 12:02 [PATCH 0/2] linux-custom: fix building of the linux-libc-dev package Cedric Hombourger
  2022-04-13 12:02 ` [PATCH 1/2] linux-custom: correct name of " Cedric Hombourger
@ 2022-04-13 12:02 ` Cedric Hombourger
  2022-05-05 10:17 ` [PATCH 0/2] linux-custom: fix building of the linux-libc-dev package Anton Mikanovich
  2 siblings, 0 replies; 4+ messages in thread
From: Cedric Hombourger @ 2022-04-13 12:02 UTC (permalink / raw)
  To: isar-users; +Cc: Cedric Hombourger

The Linux kernel makefiles use rsync when installing libc headers.
Add rsync to BuildDepends

Signed-off-by: Cedric Hombourger <Cedric_Hombourger@mentor.com>
---
 meta/recipes-kernel/linux/linux-custom.inc | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-kernel/linux/linux-custom.inc b/meta/recipes-kernel/linux/linux-custom.inc
index 8a5dbf8..b09ec5c 100644
--- a/meta/recipes-kernel/linux/linux-custom.inc
+++ b/meta/recipes-kernel/linux/linux-custom.inc
@@ -22,7 +22,8 @@ KBUILD_DEPENDS ?= "build-essential:native, \
                    cpio, \
                    flex, \
                    git, \
-                   kmod,"
+                   kmod, \
+                   rsync,"
 
 KERNEL_DEBIAN_DEPENDS ?= "initramfs-tools | linux-initramfs-tool, \
                           kmod, \
-- 
2.30.2


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

* Re: [PATCH 0/2] linux-custom: fix building of the linux-libc-dev package
  2022-04-13 12:02 [PATCH 0/2] linux-custom: fix building of the linux-libc-dev package Cedric Hombourger
  2022-04-13 12:02 ` [PATCH 1/2] linux-custom: correct name of " Cedric Hombourger
  2022-04-13 12:02 ` [PATCH 2/2] linux-custom: add rsync to build dependencies Cedric Hombourger
@ 2022-05-05 10:17 ` Anton Mikanovich
  2 siblings, 0 replies; 4+ messages in thread
From: Anton Mikanovich @ 2022-05-05 10:17 UTC (permalink / raw)
  To: Cedric Hombourger, isar-users

13.04.2022 15:02, Cedric Hombourger wrote:
> Two small issues were causing the linux-libc-dev package produced by
> linux-custom to be an empty package.
>
> Cedric Hombourger (2):
>    linux-custom: correct name of linux-libc-dev package
>    linux-custom: add rsync to build dependencies
>
>   meta/recipes-kernel/linux/files/debian/isar/install.tmpl | 2 +-
>   meta/recipes-kernel/linux/linux-custom.inc               | 3 ++-
>   2 files changed, 3 insertions(+), 2 deletions(-)
>
Applied to next, thanks.


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

end of thread, other threads:[~2022-05-05 10:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-13 12:02 [PATCH 0/2] linux-custom: fix building of the linux-libc-dev package Cedric Hombourger
2022-04-13 12:02 ` [PATCH 1/2] linux-custom: correct name of " Cedric Hombourger
2022-04-13 12:02 ` [PATCH 2/2] linux-custom: add rsync to build dependencies Cedric Hombourger
2022-05-05 10:17 ` [PATCH 0/2] linux-custom: fix building of the linux-libc-dev package Anton Mikanovich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox