Skip to content

Postinstall intercept fall-back solution + leftover patches with postinstall fixes

Laurentiu Palcu openembedded-core 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11Add separate directory for postinstall interceptsscripts/postinst-intercepts/postinst_intercept scripts/postinst-intercepts/update_font_cache scripts/postinst-intercepts/update_icon_cache +1 more+66 -00 replies
2/11image.bbclass: add fall-back functionality when running interceptsmeta/classes/image.bbclass+37 -60 replies
3/11rootfs_(ipk|deb|rpm).bbclass: check package installation status after ROOTFS_POSTPROCESS_COMMANDmeta/classes/rootfs_deb.bbclass meta/classes/rootfs_ipk.bbclass meta/classes/rootfs_rpm.bbclass+23 -240 replies
4/11gtk-icon-cache.bbclass: use postinst_intercept scriptmeta/classes/gtk-icon-cache.bbclass+9 -300 replies
5/11fontcache.bbclass: use the postinst_intercept scriptmeta/classes/fontcache.bbclass+7 -130 replies
6/11Add pixbufcache classmeta/classes/pixbufcache.bbclass+50 -00 replies
7/11gdk-pixbuf: use the new pixbufcache classmeta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.26.5.bb+3 -450 replies
8/11librsvg: use the new pixbufcache classmeta/recipes-gnome/librsvg/librsvg_2.32.1.bb+4 -170 replies
9/11gnome-keyring: compile schemas on hostmeta/recipes-gnome/gnome/gnome-keyring_2.32.1.bb+2 -100 replies
10/11gtk-immodules-cache: add weak asignment for GTKIMMODULES_PACKAGESmeta/classes/gtk-immodules-cache.bbclass+2 -00 replies
11/11gtk+: use gtk-immodules-cache classmeta/recipes-gnome/gtk+/gtk+.inc meta/recipes-gnome/gtk+/gtk+3_3.4.4.bb meta/recipes-gnome/gtk+/gtk+_2.24.14.bb+4 -200 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/11] Postinstall intercept fall-back solution + leftover patches with postinstall fixes

Hi all,

This patchset adds the fall-back solution to intercept hooks. That is, if intercept hooks fail than the postinstalls will run on target, at first boot. This way we will avoid unwanted situations when the intercept hooks fail and the build cannot complete. The previous solution had some issue with adding the final package names to the intercept hook. So, after having a discussion with Richard, we agreed to use a separate directory in scripts/ where we can put all the intercept hooks. This solution also avoids adding extra, unnecesary code (from the target point of view), to the postinstall scriptlets.

Besides this, there are other postinstall fixes from a previous patchset that I adviced not to be merged so I can resend them with the latest changes in place.

Thanks,
Laurentiu

The following changes since commit 02d2a5e68cab490cb83db6e4f2f0802221efe8a2:

distro_check: Remove creation of empty Meego filelist. (2013-02-12 13:22:44 +0000)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib lpalcu/intercept
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=lpalcu/intercept

Laurentiu Palcu (11):
Add separate directory for postinstall intercepts image.bbclass: add fall-back functionality when running intercepts rootfs_(ipk|deb|rpm).bbclass: check package installation status after
ROOTFS_POSTPROCESS_COMMAND
gtk-icon-cache.bbclass: use postinst_intercept script fontcache.bbclass: use the postinst_intercept script
Add pixbufcache class
gdk-pixbuf: use the new pixbufcache class
librsvg: use the new pixbufcache class
gnome-keyring: compile schemas on host
gtk-immodules-cache: add weak asignment for GTKIMMODULES_PACKAGES gtk+: use gtk-immodules-cache class

 meta/classes/fontcache.bbclass                     |   20 +++-----
 meta/classes/gtk-icon-cache.bbclass                |   39 ++++-----------
 meta/classes/gtk-immodules-cache.bbclass           |    2 +
 meta/classes/image.bbclass                         |   43 ++++++++++++++---
 meta/classes/pixbufcache.bbclass                   |   50 ++++++++++++++++++++
 meta/classes/rootfs_deb.bbclass                    |   14 +++---
 meta/classes/rootfs_ipk.bbclass                    |   13 +++--
 meta/classes/rootfs_rpm.bbclass                    |   20 ++++----
 meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.26.5.bb |   48 ++-----------------
 meta/recipes-gnome/gnome/gnome-keyring_2.32.1.bb   |   12 +----
 meta/recipes-gnome/gtk+/gtk+.inc                   |    8 +---
 meta/recipes-gnome/gtk+/gtk+3_3.4.4.bb             |   12 +----
 meta/recipes-gnome/gtk+/gtk+_2.24.14.bb            |    4 +-
 meta/recipes-gnome/librsvg/librsvg_2.32.1.bb       |   21 ++------
 scripts/postinst-intercepts/postinst_intercept     |   37 +++++++++++++++
 scripts/postinst-intercepts/update_font_cache      |    7 +++
 scripts/postinst-intercepts/update_icon_cache      |   12 +++++
 scripts/postinst-intercepts/update_pixbuf_cache    |   10 ++++
 18 files changed, 207 insertions(+), 165 deletions(-)
 create mode 100644 meta/classes/pixbufcache.bbclass
 create mode 100755 scripts/postinst-intercepts/postinst_intercept
 create mode 100644 scripts/postinst-intercepts/update_font_cache
 create mode 100644 scripts/postinst-intercepts/update_icon_cache
 create mode 100644 scripts/postinst-intercepts/update_pixbuf_cache
Signature · 1 line
1.7.9.5