All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Fredrik Gustafsson" <fredrik.gustafsson@axis.com>
To: <openembedded-core@lists.openembedded.org>
Cc: <tools-cfpbuild-internal@axis.com>
Subject: [PATCH v5] Add package managers as a plugin
Date: Wed, 22 Jul 2020 15:31:07 +0200	[thread overview]
Message-ID: <20200722133120.11484-1-fredrigu@axis.com> (raw)

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.

             reply	other threads:[~2020-07-22 13:31 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-22 13:31 Fredrik Gustafsson [this message]
2020-07-22 13:31 ` [PATCH v5 01/13] package_manager: Move to package_manager/__init__.py Fredrik Gustafsson
2020-07-22 13:31 ` [PATCH v5 02/13] rpm: Move manifest to its own subdir Fredrik Gustafsson
2020-07-22 13:31 ` [PATCH v5 03/13] ipk: Move ipk " Fredrik Gustafsson
2020-07-22 13:31 ` [PATCH v5 04/13] deb: Move deb " Fredrik Gustafsson
2020-07-22 13:31 ` [PATCH v5 05/13] rpm: Move rootfs to its own dir Fredrik Gustafsson
2020-07-22 13:31 ` [PATCH v5 06/13] ipk: " Fredrik Gustafsson
2020-07-22 13:31 ` [PATCH v5 07/13] deb: " Fredrik Gustafsson
2020-07-22 13:31 ` [PATCH v5 08/13] rpm: Move sdk " Fredrik Gustafsson
2020-07-22 13:31 ` [PATCH v5 09/13] ipk: " Fredrik Gustafsson
2020-07-22 13:31 ` [PATCH v5 10/13] deb: " Fredrik Gustafsson
2020-07-22 13:31 ` [PATCH v5 11/13] rpm: Move package manager " Fredrik Gustafsson
2020-07-22 13:31 ` [PATCH v5 12/13] ipk: " Fredrik Gustafsson
2020-07-22 13:31 ` [PATCH v5 13/13] deb: " Fredrik Gustafsson
2020-07-22 14:03 ` ✗ patchtest: failure for "[v5] package_manager: Move to ..." and 12 more Patchwork
2020-07-23  9:57 ` [OE-core] [PATCH v5] Add package managers as a plugin Richard Purdie
     [not found] ` <16245936DC93093A.3889@lists.openembedded.org>
2020-07-23 20:24   ` Richard Purdie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200722133120.11484-1-fredrigu@axis.com \
    --to=fredrik.gustafsson@axis.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=tools-cfpbuild-internal@axis.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.