diff mbox series

[v9,7/9] layer.conf: Fix initramfs-framework not knowing which udev it has

Message ID 20261109194759.550935-8-JPEWhacker@gmail.com
State New
Headers show
Series Implement SPDX for deploy tasks | expand

Commit Message

Joshua Watt Nov. 9, 2026, 7:45 p.m. UTC
The SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS from initramfs-framework to eudev
and systemd meant that it would not correctly update when switching udev
providers (for example, when switching from the "poky" distro to
"poky-altcfg" distro). Fix this by removing both entries.

This also requires that the recipe no longer be allarch since it will
change based on distro, which in turn requires
initramfs-module-setup-live to exclude it from signature generation so
that it can remain allarch.

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
---
 meta/conf/layer.conf                                       | 3 +--
 meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb | 2 --
 2 files changed, 1 insertion(+), 4 deletions(-)
diff mbox series

Patch

diff --git a/meta/conf/layer.conf b/meta/conf/layer.conf
index 13c920be6c..67fef79154 100644
--- a/meta/conf/layer.conf
+++ b/meta/conf/layer.conf
@@ -59,8 +59,6 @@  SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
   docbook-xsl-stylesheets->perl \
   ca-certificates->openssl \
   initramfs-framework->${VIRTUAL-RUNTIME_base-utils} \
-  initramfs-framework->eudev \
-  initramfs-framework->systemd \
   initramfs-module-install-efi->dosfstools \
   initramfs-module-install-efi->e2fsprogs \
   initramfs-module-install-efi->parted \
@@ -69,6 +67,7 @@  SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \
   initramfs-module-install->grub \
   initramfs-module-install->parted \
   initramfs-module-install->util-linux \
+  initramfs-module-setup-live->initramfs-framework \
   initramfs-module-setup-live->udev-extraconf \
   grub-efi->grub-bootconf \
   liberation-fonts->fontconfig \
diff --git a/meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb b/meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb
index 2ec03bc34c..2c5ff10813 100644
--- a/meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb
+++ b/meta/recipes-core/initrdscripts/initramfs-framework_1.0.bb
@@ -4,8 +4,6 @@  LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384
 RDEPENDS:${PN} += "${VIRTUAL-RUNTIME_base-utils}"
 RRECOMMENDS:${PN} = "${VIRTUAL-RUNTIME_base-utils-syslog}"
 
-inherit allarch
-
 SRC_URI = "file://init \
            file://exec \
            file://nfsrootfs \