diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2017-10-24 16:22:34 +0800 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2017-11-15 16:31:19 -0800 |
commit | 9245c2a7ec30ba5df6826acd91d7a76d7f51d017 (patch) | |
tree | 285891c88ac106deeb173f5dda5e05020e235c08 /meta-networking | |
parent | 62f1d7cfc39718a0a7aebccc9b4df67d4430b53a (diff) | |
download | meta-openembedded-9245c2a7ec30ba5df6826acd91d7a76d7f51d017.tar.gz |
samba: add missing RDEPENDS
* samba-tool requires the python modules from samba-python
or it fails with:
Traceback (most recent call last):
File "/usr/bin/samba-tool", line 33, in <module>
from samba.netcmd.main import cmd_sambatool
ImportError: No module named samba.netcmd.main
* Provisioning with samba-tool requires samba-dsdb-modules
or it fails with:
Setting up secrets.ldb
ldb: unable to stat module /usr/lib64/samba/ldb : No such file or directory
WARNING: Module [samba_secrets] not found - do you need to set LDB_MODULES_PATH?
Unable to load modules for /var/lib/samba/private/secrets.ldb: (null)
ERROR(ldb): uncaught exception - None
* samba-python requires pytalloc and python-tdb or it fails with:
TypeError: pytalloc: unable to get talloc.BaseObject type
ERROR(<type 'exceptions.ImportError'>): uncaught exception - No module named tdb
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-networking')
-rw-r--r-- | meta-networking/recipes-connectivity/samba/samba_4.6.7.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-networking/recipes-connectivity/samba/samba_4.6.7.bb b/meta-networking/recipes-connectivity/samba/samba_4.6.7.bb index 59d7425c8..2b227c95d 100644 --- a/meta-networking/recipes-connectivity/samba/samba_4.6.7.bb +++ b/meta-networking/recipes-connectivity/samba/samba_4.6.7.bb | |||
@@ -186,7 +186,8 @@ python samba_populate_packages() { | |||
186 | 186 | ||
187 | PACKAGESPLITFUNCS_prepend = "samba_populate_packages " | 187 | PACKAGESPLITFUNCS_prepend = "samba_populate_packages " |
188 | 188 | ||
189 | RDEPENDS_${PN} += "${PN}-base" | 189 | RDEPENDS_${PN} += "${PN}-base ${PN}-python ${PN}-dsdb-modules" |
190 | RDEPENDS_${PN}-python += "pytalloc python-tdb" | ||
190 | 191 | ||
191 | FILES_${PN}-base = "${sbindir}/nmbd \ | 192 | FILES_${PN}-base = "${sbindir}/nmbd \ |
192 | ${sbindir}/smbd \ | 193 | ${sbindir}/smbd \ |