opkg-utils: use D instead of OPKG_OFFLINE_ROOT in postrm
While both result in the same in this case, postrm should really be referring to $D as we do everywhere else. (From OE-Core rev: 7e459843e0371953d3d9d3ad05b019947ed7ca04) Signed-off-by: André Draszik <adraszik@tycoint.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
08fd7c4fc2
commit
9d0b36d9ff
|
@ -46,8 +46,8 @@ RREPLACES_update-alternatives-opkg = "update-alternatives-cworth"
|
|||
RCONFLICTS_update-alternatives-opkg = "update-alternatives-cworth"
|
||||
|
||||
pkg_postrm_update-alternatives-opkg() {
|
||||
rm -rf $OPKG_OFFLINE_ROOT${nonarch_libdir}/opkg/alternatives
|
||||
rmdir $OPKG_OFFLINE_ROOT${nonarch_libdir}/opkg || true
|
||||
rm -rf $D${nonarch_libdir}/opkg/alternatives
|
||||
rmdir $D${nonarch_libdir}/opkg || true
|
||||
}
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
|
Loading…
Reference in New Issue