On Thu, 2020-07-23 at 10:57 +0100, Richard Purdie via
lists.openembedded.org wrote:
> 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

http://git.yoctoproject.org/cgit.cgi/poky/commit/?h=master-next&id=810656611871cf5b26a82c85228fda8fe0ceb834

shows the fixes needed to get this to build. I'm not 100% convinced
about some of the naming, mainly that:

oe.package_manager.XXX.package_manager

feels awkward and duplication. Maybe the main PM pieces are better in
the rpm level?

Cheers,

Richard



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#140905): 
https://lists.openembedded.org/g/openembedded-core/message/140905
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]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to