Re: preistall package when use a package manager


Khem Raj
 

On 9/21/20 1:28 AM, Matteo Facchinetti wrote:
Hi,
I need to preinstall a package in a specific directory in my target image.
In detail I use RPM package manager and I like to include RPM packages in my target to provide a way to install services only when used.
This is useful when you don't have an internet connection.
Is there a way to do this?
Opinions are welcome.
it seems you want to bundle unstalled packages ( rpms ) in your firmware, perhaps you can look at adding a ROOTFS_POSTPROCESS_COMMAND and copy the needed packages, but you need to be sure that all dependencies(rpms) are also made available as part of this bundle
and you have to check this consistency everytime you update firmware


Regards,
Matteo
Sirius Electronic Systems

Join yocto@lists.yoctoproject.org to automatically receive all group messages.