From: Laurentiu Palcu <laurentiu.palcu@intel.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH 0/4] Postinstall fixes
Date: Mon, 22 Apr 2013 11:01:21 +0300 [thread overview]
Message-ID: <cover.1366615922.git.laurentiu.palcu@intel.com> (raw)
Hi all,
Because RPM saves the postinstalls in /etc/rpm-postinsts only if the
postinstall fails, the intercept hooks machanism was implemented so that the
postinstalls always return 1, in order for the rpm to save the scriptlet.
Unfortunately, this is not such a good idea when a recipe needs to install more
than one hook.
This patchset changes the logic in order to allow installing multiple hooks in
the same postinstall. The postinstall is extracted after the package is
installed and some sed magic is needed in order to extract the postinstall
scriptlets from rpm.
Thanks,
Laurentiu
The following changes since commit 3b2d8e52ee4391802cff7baf3f343700499859ce:
build-appliance: Update to latest dylan revision for release (2013-04-18 22:02:43 +0100)
are available in the git repository at:
git://git.yoctoproject.org/poky-contrib lpalcu/postinsts_issue_fix
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=lpalcu/postinsts_issue_fix
Laurentiu Palcu (4):
fontcache.bbclass: do not exit with 1 after installing intercept hook
gtk-icon-cache.bbclass: do not exit 1 after installing intercept hook
pixbufcache.bbclass: do not exit 1 after installing intercept hook
image.bbclass: change the logic when intercepts fail
meta/classes/fontcache.bbclass | 10 ++------
meta/classes/gtk-icon-cache.bbclass | 47 +++++++++++++++--------------------
meta/classes/image.bbclass | 32 ++++++++++++++++--------
meta/classes/pixbufcache.bbclass | 29 +++++++++------------
4 files changed, 56 insertions(+), 62 deletions(-)
--
1.7.9.5
next reply other threads:[~2013-04-22 8:19 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-22 8:01 Laurentiu Palcu [this message]
2013-04-22 8:01 ` [PATCH 1/4] fontcache.bbclass: do not exit with 1 after installing intercept hook Laurentiu Palcu
2013-04-22 8:01 ` [PATCH 2/4] gtk-icon-cache.bbclass: do not exit " Laurentiu Palcu
2013-04-22 8:01 ` [PATCH 3/4] pixbufcache.bbclass: " Laurentiu Palcu
2013-04-22 8:01 ` [PATCH 4/4] image.bbclass: change the logic when intercepts fail Laurentiu Palcu
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.1366615922.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