Skip to content

Commit

Permalink
snapd: make kernel-module-squashfs poky-specific
Browse files Browse the repository at this point in the history
Thanks to Maciej for the suggestion.

Forum: https://forum.snapcraft.io/t/snapd-yocto-build-issue/30673/3
Signed-off-by: Zygmunt Krynicki <[email protected]>
  • Loading branch information
zyga committed Mar 8, 2024
1 parent 8d83391 commit 60d8f6c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion recipes-support/snapd/snapd.inc
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,13 @@ 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}:poky = " kernel-module-squashfs"

EXTRA_OECONF += " \
--libexecdir=${libdir}/snapd \
--with-snap-mount-dir=/snap \
Expand Down

0 comments on commit 60d8f6c

Please sign in to comment.