* [PATCH] opkg-utils: use D instead of OPKG_OFFLINE_ROOT in postrm
@ 2017-01-12 10:42 André Draszik
0 siblings, 0 replies; only message in thread
From: André Draszik @ 2017-01-12 10:42 UTC (permalink / raw)
To: openembedded-core
From: André Draszik <adraszik@tycoint.com>
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 <adraszik@tycoint.com>
---
meta/recipes-devtools/opkg-utils/opkg-utils_git.bb | 4 ++--
1 file 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 4f90bcd13a..f6265959e9 100644
--- a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
+++ b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
@@ -45,8 +45,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"
--
2.11.0
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-01-12 10:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-12 10:42 [PATCH] opkg-utils: use D instead of OPKG_OFFLINE_ROOT in postrm André Draszik
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox