Skip to contentSkip to conversation

samba: add dynamic packages regexp for auth and pdb modules

PATCH New Rémi Rérolle 1 participant 1 message Jun 11, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 samba: add dynamic packages regexp for auth and pdb modules

Since those modules are dynamically split into sub-packages, they need a regexp added to PACKAGES_DYNAMIC in order for the samba recipe to RPROVIDE those packages. Without that, those packages are only known as RRECOMMENDS for samba-base, which can be an issue when building an image with NO_RECOMMENDATIONS = "1".

---
 meta-networking/recipes-connectivity/samba/samba_4.7.6.bb | 1 +
 1 file changed, 1 insertion(+)
meta-networking/recipes-connectivity/samba/samba_4.7.6.bb +1 -0
index a8517c5..ee298b3 100644
@@ -218,6 +218,7 @@ python samba_populate_packages() {
 }
 
 PACKAGESPLITFUNCS_prepend = "samba_populate_packages "
+PACKAGES_DYNAMIC = "samba-auth-.* samba-pdb-.*"
 
 RDEPENDS_${PN} += "${PN}-base ${PN}-python ${PN}-dsdb-modules"
 RDEPENDS_${PN}-python += "pytalloc python-tdb"
Signature · 1 line
2.1.4