summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes/corosync/corosync_1.2.3.bb (renamed from recipes/corosync/corosync_1.2.1.bb)8
1 files changed, 5 insertions, 3 deletions
diff --git a/recipes/corosync/corosync_1.2.1.bb b/recipes/corosync/corosync_1.2.3.bb
index 9ebea888c6..9aa1528163 100644
--- a/recipes/corosync/corosync_1.2.1.bb
+++ b/recipes/corosync/corosync_1.2.3.bb
@@ -4,14 +4,14 @@ LICENSE = "BSD"
PR = "r0"
SRC_URI = " \
- ftp://ftp@corosync.org/downloads/corosync-${PV}/corosync-${PV}.tar.gz;name=tar \
+ ftp://ftp@corosync.org/downloads/corosync-${PV}/corosync-${PV}.tar.gz \
file://fix-lcrso-linkage.patch \
file://init \
file://corosync.conf \
file://volatiles \
"
-SRC_URI[tar.md5sum] = "cba5eb5da41630f53e54b90c449c056d"
-SRC_URI[tar.sha256sum] = "d919d9817c4cde9e3d38e6f79731d9e1cd53485c6160bd253d888fa58a87a43d"
+SRC_URI[md5sum] = "03b8cc311619c07ae1a84a5d59f13d0b"
+SRC_URI[sha256sum] = "4dd2aa43d82bb22c9bfed146da4ea2e07134d413a42f164dff86da9f34719fc9"
inherit autotools_stage update-rc.d
@@ -24,6 +24,8 @@ FILES_${PN}-dbg += "${libexecdir}/lcrso/.debug"
do_install_append() {
install -d ${D}/${sysconfdir}/init.d
install -d ${D}${sysconfdir}/default/volatiles
+ # Original init script is too bashy
+ rm -f ${D}/${sysconfdir}/init.d/corosync
install -m 0755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/corosync-daemon
install -m 0644 ${WORKDIR}/corosync.conf ${D}/${sysconfdir}/corosync/corosync.conf.example
install -m 0644 ${WORKDIR}/volatiles ${D}${sysconfdir}/default/volatiles/05_corosync