From: André Draszik Date: Thu, 12 Jan 2017 10:42:25 +0000 (+0000) Subject: opkg-utils: use D instead of OPKG_OFFLINE_ROOT in postrm X-Git-Tag: uninative-1.5~854 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=7e459843e0371953d3d9d3ad05b019947ed7ca04;p=openembedded-core.git 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. Signed-off-by: André Draszik Signed-off-by: Ross Burton --- diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb index 094f4e75de..7b3b86e1dc 100644 --- a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb +++ b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb @@ -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"