Hi David,

On 9/30/24 20:22, Spore, David wrote:
Hello,
I have a snap package provided by a vendor that I would like to include in my Debian Bookworm 12 image (built with Yocto). How do I create a recipe that can run Snapd to install a pre-built snap package?  Are there any examples of how to deploy a pre-built snap package during the image build process?  I want to avoid having to manually run snap on the package after the image is deployed. DART-MX8M-PLUS - Debian Bookworm 12.5 based on Yocto Mickledore 4.2 with NXP BSP L6.1.36_2.1.0


For my understanding, have you tried manually first to prove that it could work? I guess you already built snapd using meta-snapd or meta-snappy (https://layers.openembedded.org/layerindex/branch/master/recipes/?q=snapd)

By the way, trying to install Debian packages won't work, or at least the installed binaries are not expected to work because they were built against different libraries. However, this might work with a snap container if all the library prerequisites are indeed included, in particular the standard C library.

Cheers
Michael.

--

Michael Opdenacker
Root Commit
https://rootcommit.com
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#63918): https://lists.yoctoproject.org/g/yocto/message/63918
Mute This Topic: https://lists.yoctoproject.org/mt/108742736/21656
Mute #mickledore:https://lists.yoctoproject.org/g/yocto/mutehashtag/mickledore
Mute #snapd:https://lists.yoctoproject.org/g/yocto/mutehashtag/snapd
Group Owner: yocto+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to