Postinstall intercept fall-back solution + leftover patches with postinstall fixes
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest11 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/11 | Add separate directory for postinstall interceptsscripts/ scripts/ scripts/ +1 more | +66 | 0 replies | |
| 2/11 | image.bbclass: add fall-back functionality when running interceptsmeta/ | +37 | 0 replies | |
| 3/11 | rootfs_(ipk|deb|rpm).bbclass: check package installation status after ROOTFS_POSTPROCESS_COMMANDmeta/ meta/ meta/ | +23 | 0 replies | |
| 4/11 | gtk-icon-cache.bbclass: use postinst_intercept scriptmeta/ | +9 | 0 replies | |
| 5/11 | fontcache.bbclass: use the postinst_intercept scriptmeta/ | +7 | 0 replies | |
| 6/11 | Add pixbufcache classmeta/ | +50 | 0 replies | |
| 7/11 | gdk-pixbuf: use the new pixbufcache classmeta/ | +3 | 0 replies | |
| 8/11 | librsvg: use the new pixbufcache classmeta/ | +4 | 0 replies | |
| 9/11 | gnome-keyring: compile schemas on hostmeta/ | +2 | 0 replies | |
| 10/11 | gtk-immodules-cache: add weak asignment for GTKIMMODULES_PACKAGESmeta/ | +2 | 0 replies | |
| 11/11 | gtk+: use gtk-immodules-cache classmeta/ meta/ meta/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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