From patchwork Wed Nov 9 12:05:27 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [0/2] RPM/upgrade fixes Date: Wed, 09 Nov 2011 12:05:27 -0000 From: Paul Eggleton X-Patchwork-Id: 14617 Message-Id: To: openembedded-core@lists.openembedded.org 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(-)