]> code.ossystems Code Review - openembedded-core.git/commit
opkg-utils: clear update-alternatives database on uninstall
authorAndré Draszik <adraszik@tycoint.com>
Thu, 10 Nov 2016 10:46:19 +0000 (10:46 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 23 Nov 2016 11:02:27 +0000 (11:02 +0000)
commitb24a63d71b517af701dfedbc7f7b541d25af708f
treed3b536f7be4d80401043bc6e5eb7a5891b5bcd8d
parent936eba3e1059d1dcd5e58c1ce76870fff7b11b3c
opkg-utils: clear update-alternatives database on uninstall

When uninstalling update-alternatives, it doesn't seem to
make much sense to keep the update-alternatives database
around.
In particular when removing packaging data, e.g. due to
read-only rootfs, update-alternatives is removed from
the target file system. Leaving its database around
serves no purpose in that case as there is no way to
use it afterwards anyway.

This frees close to 700KB of (uncompressed) space in
a busybox based environment.

Signed-off-by: André Draszik <adraszik@tycoint.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/opkg-utils/opkg-utils_git.bb