Message ID | 20250313104029.14977-2-reatmon@ti.com |
---|---|
State | Superseded |
Delegated to: | Ryan Eatmon |
Headers | show |
Series | Update and cleanup sysrepo packages | expand |
diff --git a/meta-arago-extras/recipes-sysrepo/libnetconf2/libnetconf2_git.bb b/meta-arago-extras/recipes-sysrepo/libnetconf2/libnetconf2_git.bb index 196b36fe..c62d3faa 100644 --- a/meta-arago-extras/recipes-sysrepo/libnetconf2/libnetconf2_git.bb +++ b/meta-arago-extras/recipes-sysrepo/libnetconf2/libnetconf2_git.bb @@ -11,7 +11,9 @@ SRCREV = "91cd6d75722c65de5c005d908f6d645b48cee89b" S = "${WORKDIR}/git" -DEPENDS = "libssh openssl libyang libxcrypt libpam" +DEPENDS = "libssh openssl libyang libxcrypt \ + ${@bb.utils.contains('DISTRO_FEATURES','pam','libpam','',d)} \ +" FILES:${PN} += "${datadir}/yang/modules/libnetconf2/*"
Check the DISTRO_FEATURES to make sure that pam is turned on before depending on libpam. The libpam recipe is gated behind this check and this recipe will fail if you do not have pam enabled. Signed-off-by: Ryan Eatmon <reatmon@ti.com> --- .../recipes-sysrepo/libnetconf2/libnetconf2_git.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)