From 629983cc35513b2df12fab9d114de91ebb07b2e9 Mon Sep 17 00:00:00 2001 From: Hirotaka Motai Date: Mon, 5 Jan 2026 09:21:34 +0000 Subject: [PATCH 1/3] conf/distro: remove linux-headers from SDK when KERNEL_NAME is blank This commit adds an option to create an image without a kernel when `KERNEL_NAME = ""` is defined in local.conf. This option is mainly intended for providing images for kernel testing. Checked the build only for Qemu. Signed-off-by: Hirotaka Motai --- conf/distro/emlinux-common.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/distro/emlinux-common.inc b/conf/distro/emlinux-common.inc index 1c9fddf1..ed3d9739 100644 --- a/conf/distro/emlinux-common.inc +++ b/conf/distro/emlinux-common.inc @@ -43,5 +43,5 @@ SDK_PREINSTALL += " \ libssl-dev \ libelf-dev" -SDK_INSTALL += "linux-headers-${KERNEL_NAME}" +SDK_INSTALL += "${@ "linux-headers-"+d.getVar('KERNEL_NAME') if d.getVar('KERNEL_NAME') else '' }" From b680a94efd64e4b917951fe6e118727bf8460c8b Mon Sep 17 00:00:00 2001 From: Hirotaka Motai Date: Thu, 8 Jan 2026 09:58:28 +0000 Subject: [PATCH 2/3] emlinux-image-weston: append udev instead of adding render group The "input" and "render" groups to which the weston user belongs are prepared by udev's postinst process. Thus, installed udev instead of configurations that prepare the render group. Signed-off-by: Hirotaka Motai --- recipes-core/images/emlinux-image-weston.bb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/recipes-core/images/emlinux-image-weston.bb b/recipes-core/images/emlinux-image-weston.bb index 1ae22c36..53eda18f 100644 --- a/recipes-core/images/emlinux-image-weston.bb +++ b/recipes-core/images/emlinux-image-weston.bb @@ -12,13 +12,11 @@ DESCRIPTION = "EMLinux target filesystem to enable Weston" IMAGE_INSTALL:append = " weston-init" -IMAGE_PREINSTALL:append = " weston libgl1 libpam-systemd kbd" +IMAGE_PREINSTALL:append = " weston libgl1 libpam-systemd kbd udev" IMAGE_PREINSTALL:append:trixie = " seatd" GROUPS += "weston-launch" GROUP_weston-launch[flags] = "system" -GROUPS += "render" -GROUP_render[flags] = "system" GROUPS += "wayland" GROUP_wayland[flags] = "system" From 096fc85473e8ac940f36db7c64ea43b06f3ae187 Mon Sep 17 00:00:00 2001 From: Hirotaka Motai Date: Thu, 8 Jan 2026 11:06:08 +0000 Subject: [PATCH 3/3] images: append udev to emlinux-image-base When KERNEL_NAME is blank, the linux kenrel will not be compiled. As a result, the udev package will not be installed. To fix it, add udev as an essential package. Signed-off-by: Hirotaka Motai --- recipes-core/images/emlinux-image-base.bb | 1 + recipes-core/images/emlinux-image-weston.bb | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/recipes-core/images/emlinux-image-base.bb b/recipes-core/images/emlinux-image-base.bb index 6a2f403f..dd000134 100644 --- a/recipes-core/images/emlinux-image-base.bb +++ b/recipes-core/images/emlinux-image-base.bb @@ -27,6 +27,7 @@ IMAGE_PREINSTALL:append = "\ iputils-ping \ procps \ vim-tiny \ + udev \ " inherit image diff --git a/recipes-core/images/emlinux-image-weston.bb b/recipes-core/images/emlinux-image-weston.bb index 53eda18f..5001c27f 100644 --- a/recipes-core/images/emlinux-image-weston.bb +++ b/recipes-core/images/emlinux-image-weston.bb @@ -12,7 +12,7 @@ DESCRIPTION = "EMLinux target filesystem to enable Weston" IMAGE_INSTALL:append = " weston-init" -IMAGE_PREINSTALL:append = " weston libgl1 libpam-systemd kbd udev" +IMAGE_PREINSTALL:append = " weston libgl1 libpam-systemd kbd" IMAGE_PREINSTALL:append:trixie = " seatd" GROUPS += "weston-launch"