Patchwork [0/2] RPM/upgrade fixes

login
register
mail settings
Submitter Paul Eggleton
Date Nov. 9, 2011, 12:05 p.m.
Message ID <cover.1320839130.git.paul.eggleton@linux.intel.com>
Download mbox
Permalink /patch/14617/
State Accepted
Headers show

Pull-request

git://git.openembedded.org/openembedded-core-contrib paule/rmscripts

Comments

Paul Eggleton - Nov. 9, 2011, 12:05 p.m.
This is the fix for the problem Anders reported on the Yocto mailing
list (now filed as Yocto bug #1760). I've checked through usage of
postrm/prerm in oe-core and meta-oe and it looks OK to me, but it
would help for others to double-check it. 

I considered whether or not it would be worth bumping PR on every
recipe that uses prerm/postrm, however this is a *lot* of recipes.

Also included is another fix for a minor issue I discovered when
uninstalling busybox.

The following changes since commit 25fae81538a92e15eab3fc169ebce44505f67839:

  python: skip setup.py 'import check' when cross-compiling (2011-11-08 21:44:23 +0000)

are available in the git repository at:
  git://git.openembedded.org/openembedded-core-contrib paule/rmscripts
  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/rmscripts

Paul Eggleton (2):
  classes/package_rpm: disable uninstall scripts for upgrades
  busybox: add grep to temporary links during uninstall

 meta/classes/package_rpm.bbclass            |   18 ++++++++++++++++--
 meta/recipes-core/busybox/busybox.inc       |    1 +
 meta/recipes-core/busybox/busybox_1.18.5.bb |    2 +-
 3 files changed, 18 insertions(+), 3 deletions(-)
Richard Purdie - Nov. 10, 2011, 12:25 p.m.
On Wed, 2011-11-09 at 12:05 +0000, Paul Eggleton wrote:
> This is the fix for the problem Anders reported on the Yocto mailing
> list (now filed as Yocto bug #1760). I've checked through usage of
> postrm/prerm in oe-core and meta-oe and it looks OK to me, but it
> would help for others to double-check it. 
> 
> I considered whether or not it would be worth bumping PR on every
> recipe that uses prerm/postrm, however this is a *lot* of recipes.
> 
> Also included is another fix for a minor issue I discovered when
> uninstalling busybox.
> 
> The following changes since commit 25fae81538a92e15eab3fc169ebce44505f67839:
> 
>   python: skip setup.py 'import check' when cross-compiling (2011-11-08 21:44:23 +0000)
> 
> are available in the git repository at:
>   git://git.openembedded.org/openembedded-core-contrib paule/rmscripts
>   http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=paule/rmscripts
> 
> Paul Eggleton (2):
>   classes/package_rpm: disable uninstall scripts for upgrades
>   busybox: add grep to temporary links during uninstall

Merged to master, thanks.

Richard