[oe] DEPLOY_DIR / packaged staging / persistent toolchains

Koen Kooi k.kooi at student.utwente.nl
Tue Apr 7 18:16:16 UTC 2009


On 07-04-09 19:43, Denys Dmytriyenko wrote:
> if you don't have opkg in your system PATH, you may need to
> remove opkg packages from pstage to force rebuilding and installing it. Its a
> chicken and egg problem - opkg-native binary is in .ipk and in order to
> install and use it you need opkg-native...

That's not true:

PSTAGE_PKGMANAGER = "stage-manager-ipkg"

[..]

     pkgmanager = bb.which(path, 'opkg-cl')
     if pkgmanager == "":
         pkgmanager = bb.which(path, 'ipkg-cl')
     if pkgmanager != "":
         bb.data.setVar("PSTAGE_PKGMANAGER", pkgmanager, d)


stage-manager-ipkg is a shell script (flashback to the original ipkg 
implementation), which will get used till opkg-cl is found in $PATH.

regards,

Koen






More information about the Openembedded-devel mailing list