Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Alexander Kanavin <alexander.kanavin@linux.intel.com>
To: openembedded-core@lists.openembedded.org
Subject: Re: [PATCH 00/36] Replace Smart package manager with DNF package manager
Date: Mon, 13 Feb 2017 18:27:19 +0200	[thread overview]
Message-ID: <2144d776-b491-0200-5a2c-63c46f8b775a@linux.intel.com> (raw)
In-Reply-To: <cover.1486997986.git.alexander.kanavin@linux.intel.com>

On 02/13/2017 05:05 PM, Alexander Kanavin wrote:
> This patchset replaces the outdated, unsupported Smart package manager with
> DNF package manager (Fedora's successor to yum). This is not a trivial change
> and there are many consequences:
>
> - DNF is API incompatible with rpm5; therefore rpm5 is replaced with rpm4.
>
> - There are various non-default features that aren't yet supported or tested:
> such as signing packages and repositories, RPM_PREFER_ELF_ARCH and possibly others
>
> - db 6.x is removed from oe-core; db 5.x is replacing it
>
> - Although I did my very best to test this patchset locally,
> the whole thing may break down in surprising ways. I would appreaciate all the help
> you can provide here. The patchset touches many things in many places and has
> more than the usual share of side effects.

One thing I forgot to mention: previously the way to force something to 
run on target during package installation was to put 'if D is defined 
then exit 1' to pkg_postinst(). That behavior is still supported, but 
deprecated and produces a warning; the new way is to put target-specific 
postinst actions to pkg_postinst_ontarget(). The rationale is in the 
commit message:

http://lists.openembedded.org/pipermail/openembedded-core/2017-February/132654.html

Alex



      parent reply	other threads:[~2017-02-13 16:26 UTC|newest]

Thread overview: 53+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-13 15:05 [PATCH 00/36] Replace Smart package manager with DNF package manager Alexander Kanavin
2017-02-13 15:05 ` [PATCH 01/36] gpgme: allow building -native variant Alexander Kanavin
2017-02-13 15:05 ` [PATCH 02/36] package.bbclass: fix locations of debugedit and rpmdeps utilities Alexander Kanavin
2017-02-13 15:05 ` [PATCH 03/36] libsolv: enable rpm support Alexander Kanavin
2017-02-13 15:05 ` [PATCH 04/36] rpmresolve: remove the recipe Alexander Kanavin
2017-02-13 15:05 ` [PATCH 05/36] createrepo-c: add a recipe Alexander Kanavin
2017-02-13 15:05 ` [PATCH 06/36] createrepo: remove the recipe Alexander Kanavin
2017-02-13 15:05 ` [PATCH 07/36] rpm: add a 4.x recipe Alexander Kanavin
2017-02-13 15:05 ` [PATCH 08/36] rpm: remove 5.x recipe Alexander Kanavin
2017-02-13 15:05 ` [PATCH 09/36] python-pygpgme: add a recipe Alexander Kanavin
2017-02-13 15:05 ` [PATCH 10/36] python-iniparse: " Alexander Kanavin
2017-02-13 15:05 ` [PATCH 11/36] python-backports-lzma: " Alexander Kanavin
2017-02-13 15:05 ` [PATCH 12/36] librepo: " Alexander Kanavin
2017-02-13 15:05 ` [PATCH 13/36] libcomps: " Alexander Kanavin
2017-02-13 15:05 ` [PATCH 14/36] libdnf: " Alexander Kanavin
2017-02-13 15:05 ` [PATCH 15/36] dnf: " Alexander Kanavin
2017-02-13 15:05 ` [PATCH 16/36] python-smartpm: remove the recipe Alexander Kanavin
2017-02-13 15:05 ` [PATCH 17/36] db: remove the 6.x recipe Alexander Kanavin
2017-02-13 15:05 ` [PATCH 18/36] package_rpm.bbclass: make architecture-independent .rpm packages "noarch" instead of "all" Alexander Kanavin
2017-02-13 15:05 ` [PATCH 19/36] package_manager.py: improve the API for insert_feed_uris() Alexander Kanavin
2017-02-13 15:05 ` [PATCH 20/36] package_rpm.bbclass: correctly map RRECOMMENDS and RSUGGESTS to rpm tags Alexander Kanavin
2017-02-13 15:05 ` [PATCH 21/36] nativesdk-packagegroup-sdk-host: replace smartpm with dnf Alexander Kanavin
2017-02-13 15:05 ` [PATCH 22/36] package.bbclass: add support for pkg_postinst_ontarget() Alexander Kanavin
2017-02-15  8:17   ` Anders Darander
2017-02-15  9:01     ` Alexander Kanavin
2017-02-15  9:10       ` Anders Darander
2017-02-15  9:19         ` Alexander Kanavin
2017-02-13 15:05 ` [PATCH 23/36] rootfs_rpm.bbclass: migrate image creation to dnf Alexander Kanavin
2017-02-15 11:18   ` André Draszik
2017-02-15 11:44     ` Alexander Kanavin
2017-02-13 15:05 ` [PATCH 24/36] scripts/rpm2cpio.sh: replace 5.x version with 4.x version Alexander Kanavin
2017-02-13 15:05 ` [PATCH 25/36] scripts/oe-setup-rpmrepo: replace createrepo with createrepo_c Alexander Kanavin
2017-02-13 15:05 ` [PATCH 26/36] package_rpm.bbclass: replace createrepo reference " Alexander Kanavin
2017-02-13 15:05 ` [PATCH 27/36] package_rpm.bbclass: prevent rpm from using sysroot paths that it was originally compiled with Alexander Kanavin
2017-02-13 15:05 ` [PATCH 28/36] testimage.bbclass: fix runtime test for rpm, port smart tests to dnf Alexander Kanavin
2017-02-13 15:05 ` [PATCH 29/36] package_rpm.bbclass: instruct rpm to not remove the buildroot directory Alexander Kanavin
2017-02-13 15:06 ` [PATCH 30/36] selftest: do not perform a full build in test_continue Alexander Kanavin
2017-02-13 15:36   ` Burton, Ross
2017-02-13 16:02     ` Alexander Kanavin
2017-02-13 16:03       ` Burton, Ross
2017-02-13 15:06 ` [PATCH 31/36] image.bbclass: do not uninstall update-alternatives from readonly rootfs Alexander Kanavin
2017-02-15 10:12   ` André Draszik
2017-02-13 15:06 ` [PATCH 32/36] selftest: allow bitbake to fail in test_options_warnqa_errorqa_switch Alexander Kanavin
2017-02-13 15:06 ` [PATCH 33/36] ossp-uuid: remove the recipe Alexander Kanavin
2017-02-13 15:06 ` [PATCH 34/36] byacc: " Alexander Kanavin
2017-02-13 15:06 ` [PATCH 35/36] nativesdk.bbclass: add a /bin/sh RPROVIDES Alexander Kanavin
2017-02-15 10:28   ` André Draszik
2017-02-15 11:38     ` Alexander Kanavin
2017-02-13 15:06 ` [PATCH 36/36] package_deb.bbclass: Ignore file paths in RPROVIDES Alexander Kanavin
2017-02-15 10:36   ` André Draszik
2017-02-15 10:51     ` avalluri
2017-02-15 11:21       ` André Draszik
2017-02-13 16:27 ` Alexander Kanavin [this message]

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=2144d776-b491-0200-5a2c-63c46f8b775a@linux.intel.com \
    --to=alexander.kanavin@linux.intel.com \
    --cc=openembedded-core@lists.openembedded.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox