From 9d0b36d9ffbc718d215ea31d9a5e5973f341f580 Mon Sep 17 00:00:00 2001 From: André Draszik Date: Thu, 12 Jan 2017 10:42:25 +0000 Subject: opkg-utils: use D instead of OPKG_OFFLINE_ROOT in postrm MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-devtools/opkg-utils/opkg-utils_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta/recipes-devtools/opkg-utils/opkg-utils_git.bb') 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" -- cgit v1.2.3-54-g00ecf