generic-poky/meta
Khem Raj aaaa25022b opkg-utils: Do not use --ignore-fail-on-non-empty with rmdir
--ignore-fail-on-non-empty is coreutils specific, and you
are not always going to have coreutils on target systems
especially small ones. They will use the busybox applet which
does not support --ignore-fail-on-non-empty, use pipe and true
to ignore the errorcode from rmdir instead

Fixes upgrade errors on target e.g.

rmdir: unrecognized option '--ignore-fail-on-non-empty'
BusyBox v1.24.1 (2016-12-20 10:41:39 PST) multi-call binary.

Usage: rmdir [OPTIONS] DIRECTORY...
To remove package debris, try `opkg remove update-alternatives-opkg`.
To re-attempt the install, try `opkg install update-alternatives-opkg`.
Collected errors:
 * pkg_run_script: package "update-alternatives-opkg" postrm script returned status 1.
 * postrm_upgrade_old_pkg: postrm script for package "update-alternatives-opkg" failed

(From OE-Core rev: 5ec8934a495e9b9a782889bc3a84936c8a381165)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-01-09 13:39:12 +00:00
..
classes gummiboot: Remove/change gummiboot references with systemd-boot 2017-01-09 13:39:11 +00:00
conf gummiboot: Remove/change gummiboot references with systemd-boot 2017-01-09 13:39:11 +00:00
files sdk-installer: Fix unclear SDK installer message 2016-10-11 22:59:35 +01:00
lib oe-selftest: devtool: Reverting a change should trigger rebuild 2017-01-09 13:39:11 +00:00
recipes-bsp gummiboot: Remove/change gummiboot references with systemd-boot 2017-01-09 13:39:11 +00:00
recipes-connectivity openssl: Add support for many MIPS configurations 2016-12-22 08:50:16 +00:00
recipes-core meta: use require instead of include when file should exist 2017-01-09 13:39:11 +00:00
recipes-devtools opkg-utils: Do not use --ignore-fail-on-non-empty with rmdir 2017-01-09 13:39:12 +00:00
recipes-extended meta: use require instead of include when file should exist 2017-01-09 13:39:11 +00:00
recipes-gnome gdk-pixbuf: Upgrade 2.36.0 -> 2.36.1 2016-12-20 15:22:16 +00:00
recipes-graphics meta: use require instead of include when file should exist 2017-01-09 13:39:11 +00:00
recipes-kernel linux-dtb: strip DTB extension properly in postinst/postrm 2017-01-09 13:39:11 +00:00
recipes-lsb4 libpng12: Handle no static libs 2016-02-15 16:28:46 +00:00
recipes-multimedia meta: use require instead of include when file should exist 2017-01-09 13:39:11 +00:00
recipes-rt meta: remove True option to getVar calls 2016-12-16 10:23:23 +00:00
recipes-sato webkitgtk: Fix atomic detection on arm architecture 2016-12-20 15:22:16 +00:00
recipes-support meta: use require instead of include when file should exist 2017-01-09 13:39:11 +00:00
site siteinfo.bbclass: Add mipsisa{32, 64}r6{el, } support 2016-10-07 16:43:57 +01:00
COPYING.GPLv2 Fix license notices for OE-Core 2014-01-02 12:58:54 +00:00
COPYING.MIT
recipes.txt qt4: remove recipes and classes 2016-01-07 13:40:14 +00:00