1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-30 00:20:08 +00:00

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>
This commit is contained in:
Aníbal Limón
2015-06-25 13:21:16 -05:00
committed by Richard Purdie
parent b2c9e7347a
commit 64229cb5d4
@@ -27,7 +27,10 @@ for pm in $backend_list; do
;; ;;
"ipk") "ipk")
pm_installed=true if [ -s "/var/lib/opkg/status" ]; then
pm_installed=true
break
fi
;; ;;
esac esac
done done