summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-devtools/opkg-utils/opkg-utils_git.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
index a7aec45f8d..19a852ec62 100644
--- a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
+++ b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
@@ -43,4 +43,9 @@ RPROVIDES_update-alternatives-opkg = "update-alternatives update-alternatives-cw
43RREPLACES_update-alternatives-opkg = "update-alternatives-cworth" 43RREPLACES_update-alternatives-opkg = "update-alternatives-cworth"
44RCONFLICTS_update-alternatives-opkg = "update-alternatives-cworth" 44RCONFLICTS_update-alternatives-opkg = "update-alternatives-cworth"
45 45
46pkg_postrm_update-alternatives-opkg() {
47 rm -rf $OPKG_OFFLINE_ROOT${nonarch_libdir}/opkg/alternatives
48 rmdir --ignore-fail-on-non-empty $OPKG_OFFLINE_ROOT${nonarch_libdir}/opkg
49}
50
46BBCLASSEXTEND = "native nativesdk" 51BBCLASSEXTEND = "native nativesdk"