opkg-utils: use D instead of OPKG_OFFLINE_ROOT in postrm
PATCH 1/1 opkg-utils: use D instead of OPKG_OFFLINE_ROOT in postrm
From: André Draszik <[email protected]>
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 <[email protected]>
--- meta/recipes-devtools/opkg-utils/opkg-utils_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
meta/recipes-devtools/opkg-utils/opkg-utils_git.bb +2 -2
@@ -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"
Signature · 1 line
2.11.0