Hi David,
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