Skip to contentSkip to conversation

ctdb: drop duplicated DESCRIPTION

PATCH New Christopher Larson 1 participant 3 messages Apr 16, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 ctdb: drop duplicated DESCRIPTION

From: Christopher Larson <[email protected]>

---
 meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb | 4 ----
 1 file changed, 4 deletions(-)
meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb +0 -4
index d4c0f86..66c966d 100644
@@ -2,10 +2,6 @@ DESCRIPTION = "CTDB is a cluster implementation of the TDB database \
 used by Samba and other projects to store temporary data. If an \
 application is already using TDB for temporary data it is very easy \
 to convert that application to be cluster aware and use CTDB instead."
-DESCRIPTION = "CTDB is a cluster implementation of the TDB database \
-used by Samba and other projects to store temporary data. If an \
-application is already using TDB for temporary data it is very easy \
-to convert that application to be cluster aware and use CTDB instead."
 HOMEPAGE = "https://ctdb.samba.org/"
 LICENSE = "GPL-2.0+ & LGPL-3.0+ & GPL-3.0+"
 
Signature · 1 line
2.8.0
#1 lore raw

PATCH 2/3 ctdb: rdepend on procps

From: Christopher Larson <[email protected]>

ctdbd_wrapper requires pgrep.

---
 meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb +3 -0
index 66c966d..232546c 100644
@@ -28,6 +28,9 @@ PARALLEL_MAKE = ""
 
 DEPENDS += "popt libtevent libtalloc libldb"
 
+# ctdbd_wrapper requires pgrep, hence procps
+RDEPENDS_${PN} += "procps"
+
 do_configure() {
     oe_runconf
 }
Signature · 1 line
2.8.0
#2 lore raw

PATCH 3/3 ctdb: disable the service by default

In reply to Christopher Larson

From: Christopher Larson <[email protected]>

The systemd service is disabled by default, as the service will fail to start without /etc/ctdb/nodes. If the user supplies this, they can re-enable the service.

---
 meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb | 4 ++++
 1 file changed, 4 insertions(+)
meta-networking/recipes-support/ctdb/ctdb_2.5.1.bb +4 -0
index 232546c..5d75784 100644
@@ -44,6 +44,10 @@ do_install_append() {
     rm -r ${D}/${localstatedir}/run
 }
 
+# The systemd service is disabled by default, as the service will fail to
+# start without /etc/ctdb/nodes. If the user supplies this, they can re-enable
+# the service.
+SYSTEMD_AUTO_ENABLE = "disable"
 SYSTEMD_SERVICE_${PN} = "ctdb.service"
 
 # onnode is a shell script with bashisms and bash #!
Signature · 1 line
2.8.0