Skip to contentSkip to conversation

multipath-tools: add recipe for git version

PATCH Applied Koen Kooi 2 participants 2 messages Mar 27, 2013 – Mar 29, 2013

lore
Share & tools
lore

Koen Kooi

author
#0 lore raw

PATCH v2 1/1 multipath-tools: add recipe for git version

Multipath-tools hasn't seen a release in 3 years, so grab latest git.

'kpartx' is subpackaged since that's the tool most people want.

---
 .../multipath-tools/multipath-tools_git.bb         | 30 ++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 recipes-support/multipath-tools/multipath-tools_git.bb
recipes-support/multipath-tools/multipath-tools_git.bb new file +30 -0
new file mode 100644
index 0000000..808bc28
@@ -0,0 +1,30 @@
+DESCRIPTION = "The upstream project used to drive the Device Mapper multipathing driver."
+
+DEPENDS = "lvm2 libaio readline"
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=7be2873b6270e45abacc503abbe2aa3d"
+
+
+SRC_URI = "git://git.opensvc.com/multipath-tools/.git;protocol=http"
+SRCREV = "15fc23ffb2bd1bac6990eda3e23c3e8980e6cfa5"
+
+S = "${WORKDIR}/git"
+
+PV = "0.4.9+git"
+
+EXTRA_OEMAKE = "MULTIPATH_VERSION=${PV} DESTDIR=${D} syslibdir=${base_libdir} libdir=${base_libdir}/multipath"
+
+do_install() {
+	oe_runmake install
+}
+
+FILES_${PN}-dbg += "${base_libdir}/multipath/.debug"
+FILES_${PN} += "${base_libdir}/multipath \
+                ${base_libdir}/systemd"
+
+PACKAGES =+ "kpartx"
+FILES_kpartx = "${base_sbindir}/kpartx \
+                ${base_libdir}/udev/kpartx_id"
+
+RDEPENDS_${PN} += "kpartx"
Signature · 1 line
1.8.1.4
Applied
#1 lore raw
Quoted 3 lines · Koen Kooi

Multipath-tools hasn't seen a release in 3 years, so grab latest git.

'kpartx' is subpackaged since that's the tool most people want.

Applied, thanks!

Quoted 51 lines
---
 .../multipath-tools/multipath-tools_git.bb         | 30 ++++++++++++++++++++++
 1 file changed, 30 insertions(+)
 create mode 100644 recipes-support/multipath-tools/multipath-tools_git.bb
recipes-support/multipath-tools/multipath-tools_git.bb new file +30 -0
new file mode 100644
index 0000000..808bc28
@@ -0,0 +1,30 @@
+DESCRIPTION = "The upstream project used to drive the Device Mapper multipathing driver."
+
+DEPENDS = "lvm2 libaio readline"
+
+LICENSE = "GPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=7be2873b6270e45abacc503abbe2aa3d"
+
+
+SRC_URI = "git://git.opensvc.com/multipath-tools/.git;protocol=http"
+SRCREV = "15fc23ffb2bd1bac6990eda3e23c3e8980e6cfa5"
+
+S = "${WORKDIR}/git"
+
+PV = "0.4.9+git"
+
+EXTRA_OEMAKE = "MULTIPATH_VERSION=${PV} DESTDIR=${D} syslibdir=${base_libdir} libdir=${base_libdir}/multipath"
+
+do_install() {
+	oe_runmake install
+}
+
+FILES_${PN}-dbg += "${base_libdir}/multipath/.debug"
+FILES_${PN} += "${base_libdir}/multipath \
+                ${base_libdir}/systemd"
+
+PACKAGES =+ "kpartx"
+FILES_kpartx = "${base_sbindir}/kpartx \
+                ${base_libdir}/udev/kpartx_id"
+
+RDEPENDS_${PN} += "kpartx"
Signature · 7 lines
1.8.1.4


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]