[gnome-continuous-yocto/gnomeostree-3.28-rocko: 4032/8267] opkg-utils: use D instead of OPKG_OFFLINE_ROOT in postrm



commit 9d0b36d9ffbc718d215ea31d9a5e5973f341f580
Author: André Draszik <adraszik tycoint com>
Date:   Thu Jan 12 10:42:25 2017 +0000

    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>

 meta/recipes-devtools/opkg-utils/opkg-utils_git.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb 
b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
index 094f4e7..7b3b86e 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"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]