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(-) -- 1.7.5.4 _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core