From: Laurentiu Palcu <laurentiu.palcu@intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [RFC 0/7] Postinstall improvements
Date: Wed, 19 Sep 2012 14:49:18 +0300 [thread overview]
Message-ID: <cover.1348052899.git.laurentiu.palcu@intel.com> (raw)
Hi,
It's been quite a long time since I sent the first version of postinstall
improvements which, after some debate, we decided it needed run-once
support of postinst scriptlets on host. This patcheset (RFC actually) adds
that.
So, in order to achieve this goal I took advantage of
ROOTFS_POSTPROCESS_COMMAND variable. Basically, if running some postinst
scriptlets is time consuming (even on host) and execute repeatedly,
then we can postpone the running and run the scriplet just once. The idea is
to put the scriptlet in the ${WORKDIR}/intercept_scripts directory. When the
ROOTFS_POSTPROCESS_COMMAND is executed, it will pick up all the scripts in
this directory and execute them.
This actual patchset does the above for the gtk icon cache generation which
takes a very long time to run on target and even on some hosts.
The people willing to give this patchset a test, are most than welcome. Also,
please feel free to review.
Thanks,
Laurentiu
The following changes since commit 913944d904266bf90af0cad94b4f0fb3652bd29d:
upstream_tracking: update lsb and ltp (2012-09-14 17:12:52 +0100)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib lpalcu/pi
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=lpalcu/pi
Laurentiu Palcu (7):
gtk+: enable gtk+-native
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
sato-icon-theme: make use of the gtk-icon-cache postinst scriptlet
postinst changes: bump PR to all recipes inheriting gnome and
gtk-icon-cache
meta/classes/gtk-icon-cache.bbclass | 21 +++++++++++++----
meta/classes/image.bbclass | 24 +++++++++++++++++++-
meta/classes/package_rpm.bbclass | 2 ++
meta/classes/rootfs_deb.bbclass | 2 ++
meta/classes/rootfs_ipk.bbclass | 2 ++
.../connman/connman-gnome_0.7.bb | 2 ++
meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.1.bb | 24 ++++++++++++--------
meta/recipes-gnome/gnome/gnome-common_2.28.0.bb | 2 +-
meta/recipes-gnome/gnome/gnome-desktop.inc | 2 +-
meta/recipes-gnome/gnome/gnome-doc-utils_0.20.6.bb | 2 +-
meta/recipes-gnome/gnome/gnome-keyring_2.32.1.bb | 2 +-
meta/recipes-gnome/gnome/gnome-mime-data_2.18.0.bb | 2 +-
meta/recipes-gnome/gnome/libgdata_0.7.1.bb | 2 ++
.../recipes-gnome/gnome/libgnome-keyring_2.32.0.bb | 2 +-
meta/recipes-gnome/gnome/metacity_2.30.3.bb | 2 +-
meta/recipes-gnome/gthumb/gthumb_2.12.4.bb | 2 +-
meta/recipes-gnome/gtk+/gtk+_2.24.8.bb | 5 +++-
.../gtk-engines/gtk-engines_2.20.2.bb | 2 +-
.../hicolor-icon-theme/hicolor-icon-theme_0.12.bb | 2 +-
meta/recipes-gnome/json-glib/json-glib_0.14.2.bb | 2 +-
meta/recipes-gnome/libglade/libglade_2.6.4.bb | 2 +-
meta/recipes-gnome/librsvg/librsvg_2.32.1.bb | 2 +-
meta/recipes-graphics/mutter/mutter_2.29.1.bb | 2 +-
meta/recipes-graphics/mutter/mutter_git.bb | 2 +-
.../sato-icon-theme/sato-icon-theme.inc | 13 ++++++-----
.../sato-icon-theme/sato-icon-theme_0.4.1.bb | 2 +-
.../recipes-support/consolekit/consolekit_0.4.5.bb | 2 +-
meta/recipes-support/libcroco/libcroco_0.6.3.bb | 2 +-
meta/recipes-support/vte/vte_0.28.2.bb | 2 +-
29 files changed, 94 insertions(+), 41 deletions(-)
--
1.7.9.5
next reply other threads:[~2012-09-19 12:02 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-19 11:49 Laurentiu Palcu [this message]
2012-09-19 11:49 ` [RFC 1/7] gtk+: enable gtk+-native Laurentiu Palcu
2012-09-19 11:49 ` [RFC 2/7] image.bbclass: run postinst scripts once, at rootfs time Laurentiu Palcu
2012-09-19 15:14 ` Burton, Ross
2012-09-19 15:45 ` Laurentiu Palcu
2012-09-19 15:50 ` Burton, Ross
2012-09-19 17:12 ` Laurentiu Palcu
2012-09-20 12:25 ` Richard Purdie
2012-09-19 11:49 ` [RFC 3/7] rootfs generation: export two new variables to postinst scriptlets Laurentiu Palcu
2012-09-19 11:49 ` [RFC 4/7] gtk-icon-cache: run the icon generation at rootfs time Laurentiu Palcu
2012-09-19 13:28 ` Khem Raj
2012-09-19 13:38 ` Burton, Ross
2012-09-19 15:26 ` Laurentiu Palcu
2012-09-19 11:49 ` [RFC 5/7] gdk-pixbuf: generate the pixbuf loader's cache ar " Laurentiu Palcu
2012-09-19 13:30 ` Khem Raj
2012-09-19 15:29 ` Laurentiu Palcu
2012-09-19 11:49 ` [RFC 6/7] sato-icon-theme: make use of the gtk-icon-cache postinst scriptlet Laurentiu Palcu
2012-09-19 13:36 ` Burton, Ross
2012-09-19 15:30 ` Laurentiu Palcu
2012-09-19 11:49 ` [RFC 7/7] postinst changes: bump PR to all recipes inheriting gnome and gtk-icon-cache Laurentiu Palcu
[not found] ` <CALbNGRTCyvfZFYHx6bKV8oVDJWH3X0tj1DHSJm9CkvT4xY2f7A@mail.gmail.com>
[not found] ` <5059E5C3.2080603@intel.com>
2012-09-20 15:38 ` [RFC 0/7] Postinstall improvements Andreas Müller
2012-09-20 16:12 ` Andreas Müller
2012-09-20 18:15 ` Laurentiu Palcu
2012-09-20 20:54 ` Martin Jansa
2012-09-26 7:09 ` Laurentiu Palcu
2012-09-26 7:41 ` Andreas Müller
2012-10-03 23:37 ` Andreas Müller
2012-10-04 19:16 ` Andreas Müller
2012-10-05 6:39 ` Laurentiu Palcu
2012-10-05 20:43 ` Andreas Müller
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=cover.1348052899.git.laurentiu.palcu@intel.com \
--to=laurentiu.palcu@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