From 8a9316076f1c5771824cd22d756ed6ea9c649f3d Mon Sep 17 00:00:00 2001 From: Zygmunt Krynicki Date: Fri, 8 Mar 2024 16:51:34 +0100 Subject: [PATCH] snapd: make kernel-module-squashfs poky-specific Thanks to Maciej for the suggestion. Forum: https://forum.snapcraft.io/t/snapd-yocto-build-issue/30673/3 Signed-off-by: Zygmunt Krynicki --- recipes-support/snapd/snapd.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/recipes-support/snapd/snapd.inc b/recipes-support/snapd/snapd.inc index d1d3595..e468675 100644 --- a/recipes-support/snapd/snapd.inc +++ b/recipes-support/snapd/snapd.inc @@ -22,10 +22,15 @@ DEPENDS += " \ RDEPENDS:${PN} += " \ bash \ ca-certificates \ - kernel-module-squashfs \ squashfs-tools \ " +# We require squashfs in the kernel but derivatives may not carry this specific +# package so make it poky-specific. +RDEPENDS:${PN}:append:poky = " \ + kernel-module-squashfs \ +" + EXTRA_OECONF += " \ --libexecdir=${libdir}/snapd \ --with-snap-mount-dir=/snap \