Upgrade to a package with all its dependency without network
Hello,
I need to be able to upgrade to a package with all its dependency chain on a target system that does not have access to the network.
I'm trying to understand what may be the best and also the simplest solution. Perhaps there is already this functionality in OE/Yocto?
I thought to implement a new opkg feture so that I can to generate the list of dependencies of a package and then extract the packages from OE/Yocto using a script or an application.
Another possibility would be to extend the operation of bitbake so I pull out the package and dependencies putting them in a dedicated directory to be moved on the target for the update.
For now I'm just analyzing what may be the possibilities and I'd love to have any comments or advice from someone more experienced than me on this topic.
Thanks
Signature · 4 lines
Marco Cavallini | KOAN sas | Bergamo - Italia
embedded and real-time software engineering
Phone:+39-035-255.235 - Fax:+39-178-22.39.748
http://www.KoanSoftware.comMarco
Quoted 12 lines · Marco
Hello,
I need to be able to upgrade to a package with all its dependency chain on a target system that does not have access to the network.I'm trying to understand what may be the best and also the simplest solution.
Perhaps there is already this functionality in OE/Yocto?I thought to implement a new opkg feture so that I can to generate the list of dependencies of a package and then extract the packages from OE/Yocto using a script or an application.
Quoted 8 lines
Another possibility would be to extend the operation of bitbake so I pull out the package and dependencies putting them in a dedicated directory to be moved on the target for the update.
For now I'm just analyzing what may be the possibilities and I'd love to have any comments or advice from someone more experienced than me on this topic.
I would say file a feature/enhancement request in Yocto bugzilla so it does not get lost.
Marco,
Quoted 15 lines
-----Original Message-----
From: [email protected] [mailto:yocto- [email protected]] On Behalf Of Marco
Sent: Tuesday, May 06, 2014 3:42 AM
To: [email protected]
Subject: [yocto] [RFC] Upgrade to a package with all its dependency without networkHello,
I need to be able to upgrade to a package with all its dependency chain on a target system that does not have access to the network.I'm trying to understand what may be the best and also the simplest solution. Perhaps there is already this functionality in OE/Yocto?
Quoted 7 lines
I thought to implement a new opkg feture so that I can to generate the list of dependencies of a package and then extract the packages from OE/Yocto using a script or an application.
Another possibility would be to extend the operation of bitbake so I pull out the package and dependencies putting them in a dedicated directory to be moved on the target for the update.
Go to your local.conf and add the following:
INHERIT += "buildhistory"BUILDHISTORY_COMMIT = "1"
This will generate build history information for each image you build. Included in that build history is the list of packages installed in the image. So if you are building core-image-minimal, there will be a file called "tmp/buildhistory/images/{arch}/eglibc/core-image-minimal/installed-packages.txt" under your Yocto temp directory that lists all the packages installed on that image. I have a script that I am using to build a package feed folder that only contains the packages I have installed on that image. The script is highly customized for my use (almost everything is hardcoded) but I'd be willing to work with someone to make it useful for more people if someone thinks it would be useful.
Regards,
Bryan
Quoted 16 lines
For now I'm just analyzing what may be the possibilities and I'd love to have any comments or advice from someone more experienced than me on this topic.
Thanks
--
Marco Cavallini | KOAN sas | Bergamo - Italia
embedded and real-time software engineering
Phone:+39-035-255.235 - Fax:+39-178-22.39.748
http://www.KoanSoftware.com
--
_______________________________________________
yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/yocto