The pi_dir variable isn't being set properly; it gets set to the value of the *previous* package manager. Given the order of "rpm deb ipk", if the script determines that the package manager is "ipk", pi_dir remains set at SYSCONFDIR/deb-postinsts.
Signed-off-by: Trevor Woerner <twoer...@gmail.com> --- meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts | 2 -- 1 file changed, 2 deletions(-) diff --git a/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts b/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts index f84a7e18c8..c10fd11e9d 100755 --- a/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts +++ b/meta/recipes-devtools/run-postinsts/run-postinsts/run-postinsts @@ -20,14 +20,12 @@ for pm in $backend_list; do "deb") if [ -s "#LOCALSTATEDIR#/lib/dpkg/status" ]; then pm_installed=true - break fi ;; "ipk") if [ -s "#LOCALSTATEDIR#/lib/opkg/status" ]; then pm_installed=true - break fi ;; esac -- 2.30.0.rc0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#146034): https://lists.openembedded.org/g/openembedded-core/message/146034 Mute This Topic: https://lists.openembedded.org/mt/79144452/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-