Skip to content

Postinstall improvements

Laurentiu Palcu openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5image.bbclass: run postinst scripts once, at rootfs timemeta/classes/image.bbclass+17 -31 reply
2/5rootfs generation: export two new variables to postinst scriptletsmeta/classes/package_rpm.bbclass meta/classes/rootfs_deb.bbclass meta/classes/rootfs_ipk.bbclass+6 -02 replies
3/5gtk-icon-cache: run the icon generation at rootfs timemeta/classes/gtk-icon-cache.bbclass+14 -40 replies
4/5gdk-pixbuf: generate the pixbuf loader's cache ar rootfs timemeta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.1.bb+15 -23 replies
5/5gconf.bbclass: run postinstalls at rootfs timemeta/classes/gconf.bbclass+7 -40 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 0/5] Postinstall improvements

Hi,

This is the former RFC that was on the mailing list a couple of months ago. Hopefully, this time the patches will make it in since last time the release was to close to have these changes in.

So, the main improvement this patchset brings is running the icon cache generation on host, at rootfs time, after all packages have been installed. This will cut off a lot from the target's first boot time. Also, postinstalls for gconf and gdk-pixbuf were also changed to run on host at rootfs time.

With these changes, just a handful of packages will need to run the postinstalls on target (did the tests with core-image-sato). I prefer to approach the remaining packages one by one.

My preliminary tests show no issues but, since there are lots of setups out there, testing is always welcomed. Andreas, I know you have such a setup, could you take these patches for a spin if you find some time?

Thanks,
Laurentiu

The following changes since commit da6c266b1184eed8b1bc851f24a9ee17ab56d562:

xserver-xorg: restore packaging for the DRI/DRI2/DBE extensions (2012-12-03 16:38:35 +0000)

are available in the git repository at:

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

Laurentiu Palcu (5):
image.bbclass: run postinst scripts once, at rootfs time rootfs generation: export two new variables to postinst scriptlets
gtk-icon-cache: run the icon generation at rootfs time
gdk-pixbuf: generate the pixbuf loader's cache ar rootfs time gconf.bbclass: run postinstalls at rootfs time

 meta/classes/gconf.bbclass                         |   11 +++++++----
 meta/classes/gtk-icon-cache.bbclass                |   18 ++++++++++++++----
 meta/classes/image.bbclass                         |   20 +++++++++++++++++---
 meta/classes/package_rpm.bbclass                   |    2 ++
 meta/classes/rootfs_deb.bbclass                    |    2 ++
 meta/classes/rootfs_ipk.bbclass                    |    2 ++
 meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.1.bb |   17 +++++++++++++++--
 7 files changed, 59 insertions(+), 13 deletions(-)
Signature · 1 line
1.7.9.5