You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dependencies that are specified in the *.mk files are used for the purposes of building other packages and building docker containers; they are not used in the build script for the image generation. Specifically, they will not be used in files/build_templates/sonic_debian_extension.j2. This applies to both deb packages and whl packages. It might be possible to add logic to do this, but depending on implementation, there might be repeated installations of the same package.
Additionally, as far as I know, there's no way to specify a dependency on a system library (or a deb package) in a whl package (unless there's some sort of installation hook available that can be used for checking this). It may be possible to test to see if a Python module exists at the time of installation of a deb package, but this requires some manual coding.
Description
When a .whl file is dependent on a debian package the debian package is not automatically installed as part of the image generated for switch deployment
Example:
In rules/sonic-yang-models-py3.mk:
SONIC_YANG_MODELS_PY3 has deb dependency on LIBYANG
In files/build_templates/sonic_debian_extension.j2:
LIBYANG is explicitly installed (even though the dependency is specified)
Steps to reproduce the issue:
Describe the results you received:
Describe the results you expected:
By specifying the _DEBS_DEPENDS rule the debian should be automatically installed
The text was updated successfully, but these errors were encountered: