OpenDDS / meta-opendds

Open Embedded Layer for the OpenDDS package
Other
7 stars 4 forks source link

Splitted networks and packageconfig for TAO choice. #7

Closed vermaete closed 1 year ago

vermaete commented 4 years ago

When working in a network that does not have an Internet connection, it's not possible to let the configure script to download the TAO archive. And air gapped networks are not that uncommon at places where OpenDDS is used.

Added the choice in Yocto to configure OpenDDS to work with the TAO of docgroup. Default the OCI version is used. When added 'PACKAGECONFIG += "doc-group' to the opendds%.bbappend, the DOC group version is used.

To be able to use this in an air gapped network, the opendds_git.bb files has to be masked for bitbake. This can be done by adding in the local.conf file 'BBMASK += "meta-opendds/recipes-conectivity/opendds/opendds_git.bb'. In git recipe, there is some nifty parsing to find the latest version. But this is giving a parsing error when having not external network.

Signed-off-by: Jan Vermaete jan.vermaete@gmail.com

kdopen commented 4 years ago

This looks promising. The ideal solution would be separate recipes for TAO, ACE, and MPC which we could then DEPEND on. Unfortunately, the 4 packages seem to be interdependent in a an incestuous way.

vermaete commented 4 years ago

I'm prepare a second version of this patch. Some stuff that is not in the opendds.inc file should be in the opendds_VESRSION.bb file.