summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorAníbal Limón <anibal.limon@linux.intel.com>2015-06-25 13:21:16 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-27 22:42:52 +0100
commit64229cb5d44d63af4eccd54509166d25d925cd05 (patch)
tree29f47cff4f2cc3175ceaddd1e40288c30b1c2c96 /meta/recipes-devtools
parentb2c9e7347acdfd0efe1c3dabb853d609233b61b6 (diff)
downloadpoky-64229cb5d44d63af4eccd54509166d25d925cd05.tar.gz
run-postinsts: Fix ipk package management detection
run-postinsts always mark ipk package management as true, causing problems when try to execute opkg-cl and isn't present. (From OE-Core rev: 84dcc8dded5761e24e09dbcc822445ce3dd69497) Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rwxr-xr-xmeta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts5
1 files changed, 4 insertions, 1 deletions
diff --git a/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts b/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts
index f547a7b7bd..ac9cee678b 100755
--- a/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts
+++ b/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts
@@ -27,7 +27,10 @@ for pm in $backend_list; do
27 ;; 27 ;;
28 28
29 "ipk") 29 "ipk")
30 pm_installed=true 30 if [ -s "/var/lib/opkg/status" ]; then
31 pm_installed=true
32 break
33 fi
31 ;; 34 ;;
32 esac 35 esac
33done 36done