Skip to contentSkip to conversation

samba: remove dependency on ctdb

PATCH New Mark Asselstine 1 participant 1 message Apr 29, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 samba: remove dependency on ctdb

During rootfs creation the following error is being hit

Preparing... ######################################## [ 0%]
warning: Removing ctdb-2.5.1-r0@core2_64 due to file /usr/bin/ctdb conflicting with samba-4.4.2-r0@core2_64
error: ctdb-dev-2.5.1-r0 conflicts with ctdb = 2.5.1-r0

Looking at the relationship between samba and ctdb it appears that the landscape has changed some starting in version 4.2. Samba now includes and installs ctdb instead of relying on stand-alone ctdb. Referencing
https://wiki.samba.org/index.php/CTDB_Setup we see this activated by '--with-cluster-support' which we do pass to configure based on the bb.

Dropping the DEPENDS on ctdb resolves this issue.

---
 meta-networking/recipes-connectivity/samba/samba_4.4.2.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-connectivity/samba/samba_4.4.2.bb +1 -1
index 383c9c9..6a2220a 100644
@@ -27,7 +27,7 @@ inherit systemd waf-samba cpan-base perlnative
 # remove default added RDEPENDS on perl
 RDEPENDS_${PN}_remove = "perl"
 
-DEPENDS += "readline virtual/libiconv zlib popt libtalloc libtdb libtevent libldb krb5 ctdb libbsd libaio"
+DEPENDS += "readline virtual/libiconv zlib popt libtalloc libtdb libtevent libldb krb5 libbsd libaio"
 
 SYSVINITTYPE_linuxstdbase = "lsb"
 SYSVINITTYPE = "sysv"
Signature · 1 line
2.1.4