diff options
author | André Draszik <adraszik@tycoint.com> | 2017-01-12 10:42:25 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-16 18:05:14 +0000 |
commit | 9d0b36d9ffbc718d215ea31d9a5e5973f341f580 (patch) | |
tree | 59bb97203766b39ad7345409aed3eb6763513483 /meta/recipes-devtools/opkg-utils | |
parent | 08fd7c4fc27b83f921d76dbb152f83394f68f1c2 (diff) | |
download | poky-9d0b36d9ffbc718d215ea31d9a5e5973f341f580.tar.gz |
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>
Diffstat (limited to 'meta/recipes-devtools/opkg-utils')
-rw-r--r-- | 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 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" | |||
46 | RCONFLICTS_update-alternatives-opkg = "update-alternatives-cworth" | 46 | RCONFLICTS_update-alternatives-opkg = "update-alternatives-cworth" |
47 | 47 | ||
48 | pkg_postrm_update-alternatives-opkg() { | 48 | pkg_postrm_update-alternatives-opkg() { |
49 | rm -rf $OPKG_OFFLINE_ROOT${nonarch_libdir}/opkg/alternatives | 49 | rm -rf $D${nonarch_libdir}/opkg/alternatives |
50 | rmdir $OPKG_OFFLINE_ROOT${nonarch_libdir}/opkg || true | 50 | rmdir $D${nonarch_libdir}/opkg || true |
51 | } | 51 | } |
52 | 52 | ||
53 | BBCLASSEXTEND = "native nativesdk" | 53 | BBCLASSEXTEND = "native nativesdk" |