On Wed, 2020-07-22 at 15:31 +0200, Fredrik Gustafsson wrote: > OE-core today has three different package managers, the well-known > formats deb > and rpm is supported as well as ipkg that is good for embedded > devices. > > When building and having a good cache hit, a significant amount of > time is > spent in the phase of generating a rootfs, which is really about the > performance of the package manager. To save build time and also get a > package manager that is suitanle for use on targets where flash > memory is a > concern, support for apk is suggested. > > However, it might or might not be what's wanted for OE-core since it > increases > the test matrix. Therefore I will refactor the package management > code to > allow a layer to add a new package manager without editing the meta > layer. > > This refactor will be divided into multiple patch series to be easier > to review, > this series will only move code but keep existing functionality. > > Changes since v4: > * Removed blank lines in end of new files > * Rename package_managers to package_manager > * Move import statements out from function when it's possible. > * Edit commit message to prepend subject with rpm:, ipk:, deb:, etc.
I did try this on the autobuilder to see where things stood. I showed at least one problem with quite widespread effects: https://autobuilder.yoctoproject.org/typhoon/#/builders/83/builds/1197 Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#140896): https://lists.openembedded.org/g/openembedded-core/message/140896 Mute This Topic: https://lists.openembedded.org/mt/75724413/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
