rpm-postinsts: avoid errors during boot with read-only-rootfs enabled
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Wed, 10 Apr 2013 14:36:39 +0000 (14:36 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 10 Apr 2013 15:49:24 +0000 (16:49 +0100)
commita666c13b2c297f19ab110e7bf7e395af036fe90c
tree4b0287ae0167339f295e71c977ddb0c247619a85
parenta2c04bbd65b51edcbfac27ed2433ac87ffa91c48
rpm-postinsts: avoid errors during boot with read-only-rootfs enabled

* If /etc/rpm-postinsts doesn't exist, don't error
* If deleting the script errors, don't bother printing it (this will
  always happen if the root filesystem is read-only)

(From OE-Core rev: f787b8302ed61bdaf1767473b856f31fe5bba28e)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/rpm/rpm-postinsts.bb