Hi David

On 10/1/24 15:21, Spore, David wrote:
Michael,
Thanks for your reply!  Yes, I have deployed the snap on my target machine manually after having installed snapd.


But did you check that the snap worked as expected?

Now I am looking for a way to run snap packages during the image build, as well as deploy rpm and/or deb packages.


Do you mean deploying rpm and deb packages from other distros like Fedora and Debian? Those are extremely likely to break, as the binaries were built against different C libraries. RPM and DEB are package formats, they don't provide binary compatibility.

  I've deployed these packages manually on the target machine.  My problem is that I don't know how to write recipes for automating these tasks at build time.

I guess you should write a class which the recipes would inherit. You may ask the meta-snapd or meta-snappy people for advice.
Cheers
Michael.

--
Michael Opdenacker
Root Commit
https://rootcommit.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#63929): https://lists.yoctoproject.org/g/yocto/message/63929
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