multipath-tools: update to 0.6.4

No particular reason for updating besides following upstream.

Only kpartx has been tested after updating! Seems to work as before;
unfortunately that means that as in 0.5.0, "kpartx -d" doesn't do
anything.

Upstream refreshed the COPYING file, hence the checksum change:
$ git log --oneline 0.5.0..HEAD COPYING
bf05f63 multipath-tools: replace COPYING with a fresh copy from gnu.org
1d6c88a Update FSF address

The QA error that do-not-link-libmpathpersist-to-TMPDIR.patch fixes
no longer occurs because upstream changed that particular part of
the Makefile.

A new patch is needed to avoid building libcheckerrdb, which depends
on the (currently) unavailable librados.

The other patches had to be refreshed.

Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Patrick Ohly
2017-01-27 11:11:22 +01:00
committed by Martin Jansa
parent 960acf856f
commit bc34c97efc
8 changed files with 153 additions and 124 deletions
@@ -1,6 +1,6 @@
SUMMARY = "The upstream project used to drive the Device Mapper multipathing driver"
DEPENDS = "lvm2 libaio readline udev"
DEPENDS = "lvm2 libaio liburcu readline udev"
LICENSE = "LGPLv2"
@@ -9,36 +9,21 @@ SRC_URI = "git://git.opensvc.com/multipath-tools/.git;protocol=http \
file://makefile_inc.patch \
file://always-use-libdevmapper.patch \
file://always-use-libdevmapper-kpartx.patch \
file://do-not-link-libmpathpersist-to-TMPDIR.patch \
file://0001-multipathd.service-Error-fix.patch \
file://shared-libs-avoid-linking-.so-as-executable.patch \
file://checkers-disable-libcheckrbd.so.patch \
"
# 0.5.0
#
#SRCREV = "82f391e787dc02e9d9294aa391137ab424bb83c4"
#LIC_FILES_CHKSUM = "file://COPYING;md5=7be2873b6270e45abacc503abbe2aa3d"
LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2"
# 0.5.0 + commits thru 7/18/2014
#
#SRCREV = "0d72f46c12207a6b7b89f5ef4f5ab5f87ed8bc90"
#LIC_FILES_CHKSUM = "file://COPYING;md5=b06690e7a95c166eefe0199b39118eb1"
# 0.5.0 + commits thru 9/12/2014
#
# includes important systemd related structure size fix
#
#SRCREV = "aec68ab217fd2956443b27ceeb97dd6475267789"
LIC_FILES_CHKSUM = "file://COPYING;md5=b06690e7a95c166eefe0199b39118eb1"
# 0.5.0 + commits thru 2/16/2015
SRCREV = "770e6d0da035deaced82885939161c2b69225e10"
# 0.6.4
SRCREV = "922421cf795d53d339862bb2d99f1a85c96ad9a3"
inherit systemd
S = "${WORKDIR}/git"
PV = "0.5.0+git${@'${SRCPV}'.split('+')[-1]}"
PV = "0.6.4+git${@'${SRCPV}'.split('+')[-1]}"
TARGET_CC_ARCH += "${LDFLAGS}"
@@ -54,12 +39,9 @@ EXTRA_OEMAKE = 'MULTIPATH_VERSION=${PV} DESTDIR=${D} syslibdir=${base_libdir} \
do_install() {
oe_runmake install
# Copy a sample conf file, but do not rename it multipath.conf.
#
cp multipath.conf.defaults ${D}${sysconfdir}
# We copy an initscript, but do not start multipathd at init time.
#
install -d ${D}${sysconfdir}/init.d
cp ${WORKDIR}/multipathd.oe ${D}${sysconfdir}/init.d/multipathd
}