Skip to content

meta: Fixes for update-alternatives.bbclass and gtk-icon-cache.bbclass

Robert Yang openembedded-core 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 0 repliesNew
  2. v22 patches 2 repliesSuperseded

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3update-alternatives.bbclass: run update-alternatives firstly in postinst scriptmeta/classes/update-alternatives.bbclass+5 -20 replies
2/3busybox: make postinst run firstly before update-alternativesmeta/recipes-core/busybox/busybox.inc+34 -280 replies
3/3gtk-icon-cache.bbclass: Depends on gtk+3meta/classes/gtk-icon-cache.bbclass+10 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/3] meta: Fixes for update-alternatives.bbclass and gtk-icon-cache.bbclass

* V3
- Rather make the exception in update-alternatives.bbclass, but add a populate_packages_updatealternatives_append() in busybox.inc to make busybox's postinst runs firstly.

* V2
- The patch for update-alternatives.bbclass makes update-alternatives runs firstly before other postinst scripts, since other postinst may run the tool which is installed by the package itself (e.g., newaliases is installed as newaliases.postfix, and update-alternatives will update it to newaliases). But this broke busybox' on target install, since update-alternatives requires some basic tools such as sed, there was a neat way in busybox' postinst to fix this problem, the v2 makes busybox' postinst script run firstly before update-alternatives.

Testinfo:
MACHINE = "qemux86"
PACKAGE_CLASSES = "package_ipk package_rpm" (or "package_rpm package_ipk") TESTIMAGE_AUTO = "1"

$ bitbake core-image-sato core-image-minimal

The tests are OK.

* V1
- Initial version

// Robert

The following changes since commit 4bb3e8f98e2bbfcb20f1b32d2b7674d1a6cb47be:

local.conf.sample.extended: remove redundant RUNTIMETARGET assignment (2019-06-24 17:32:37 +0100)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib rbt/post
http://cgit.openembedded.org//log/?h=rbt/post

Robert Yang (3):
update-alternatives.bbclass: run update-alternatives firstly in
postinst script
busybox: make postinst run firstly before update-alternatives gtk-icon-cache.bbclass: Depends on gtk+3

 meta/classes/gtk-icon-cache.bbclass      | 14 +++++---
 meta/classes/update-alternatives.bbclass |  7 ++--
 meta/recipes-core/busybox/busybox.inc    | 62 +++++++++++++++++---------------
 3 files changed, 49 insertions(+), 34 deletions(-)
Signature · 1 line
2.7.4