multipath-tools: add recipe for git version
PATCH 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 | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 recipes-support/multipath-tools/multipath-tools_git.bb
recipes-support/multipath-tools/multipath-tools_git.bb new file +34 -0
@@ -0,0 +1,34 @@ +DESCRIPTION = "The upstream project used to drive the Device Mapper multipathing driver." + +DEPENDS = "lvm2 libaio" + +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_compile() { + oe_runmake +} + +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
Quoted 31 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.
Signed-off-by Koen Kooi <[email protected]>--- .../multipath-tools/multipath-tools_git.bb | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 recipes-support/multipath-tools/multipath-tools_git.bbrecipes-support/multipath-tools/multipath-tools_git.bb new file +15
-0@@ -0,0 +1,34 @@ +DESCRIPTION = "The upstream project used to drive the Device Mapper multipathing driver." + +DEPENDS = "lvm2 libaio" + +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" +
recipes-support/multipath-tools/multipath-tools_git.bb line 25
Quoted 10 lines
recipes-support/multipath-tools/multipath-tools_git.bb new file +10
-0+EXTRA_OEMAKE = "MULTIPATH_VERSION=${PV} DESTDIR=${D} syslibdir=${base_libdir} libdir=${base_libdir}/multipath" + +do_compile() { + oe_runmake +} + +do_install() { + oe_runmake install +} +
Is overwriting do_compile & do_install required?
Andreas
Op 27 mrt. 2013, om 11:20 heeft Andreas Müller <[email protected]> het volgende geschreven:
Quoted 35 lines · Koen Kooi
Quoted 34 lines
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.
Signed-off-by Koen Kooi <[email protected]>---
.../multipath-tools/multipath-tools_git.bb | 34 ++++++++++++++++++++++1 file changed, 34 insertions(+)create mode 100644 recipes-support/multipath-tools/multipath-tools_git.bb
recipes-support/multipath-tools/multipath-tools_git.bb new file +18
-0@@ -0,0 +1,34 @@ +DESCRIPTION = "The upstream project used to drive the Device Mapper multipathing driver." + +DEPENDS = "lvm2 libaio" + +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_compile() {
Quoted 8 lines
recipes-support/multipath-tools/multipath-tools_git.bb line 25
Quoted 7 lines
recipes-support/multipath-tools/multipath-tools_git.bb new file +7
-0+ oe_runmake +} + +do_install() { + oe_runmake install +} +Is overwriting
do_compile&do_installrequired?
do_install, yes, do_compile probably not
Hi Koen
Quoted 16 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.
Signed-off-by Koen Kooi <[email protected]>---
.../multipath-tools/multipath-tools_git.bb | 34 ++++++++++++++++++++++1 file changed, 34 insertions(+)create mode 100644 recipes-support/multipath-tools/multipath-tools_git.bb
recipes-support/multipath-tools/multipath-tools_git.bb new file +0
-0
recipes-support/multipath-tools/multipath-tools_git.bb line 3
Quoted 3 lines
recipes-support/multipath-tools/multipath-tools_git.bb new file +3
-0@@ -0,0 +1,34 @@ +DESCRIPTION = "The upstream project used to drive the Device Mapper multipathing driver." + +DEPENDS = "lvm2 libaio"
as I read it also depends on libreadline
recipes-support/multipath-tools/multipath-tools_git.bb line 15
Quoted 12 lines
recipes-support/multipath-tools/multipath-tools_git.bb new file +12
-0+ +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" +
Is current release 0.4.9 ? I wonder if it will this be ok for upgrade path when a release happens
Quoted 27 lines
recipes-support/multipath-tools/multipath-tools_git.bb new file +19
-0+EXTRA_OEMAKE = "MULTIPATH_VERSION=${PV} DESTDIR=${D} syslibdir=${base_libdir} libdir=${base_libdir}/multipath" + +do_compile() { + oe_runmake +} + +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
Op 27 mrt. 2013, om 18:43 heeft Khem Raj <[email protected]> het volgende geschreven:
Quoted 14 lines
Hi Koen
Quoted 10 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.
Signed-off-by Koen Kooi <[email protected]>---
.../multipath-tools/multipath-tools_git.bb | 34 ++++++++++++++++++++++1 file changed, 34 insertions(+)create mode 100644 recipes-support/multipath-tools/multipath-tools_git.bb
Quoted 11 lines
recipes-support/multipath-tools/multipath-tools_git.bb line 3
Quoted 9 lines
recipes-support/multipath-tools/multipath-tools_git.bb new file +3
-0@@ -0,0 +1,34 @@ +DESCRIPTION = "The upstream project used to drive the Device Mapper multipathing driver." + +DEPENDS = "lvm2 libaio"as I read it also depends on libreadline
OK, fixed that in v2
Quoted 15 lines
recipes-support/multipath-tools/multipath-tools_git.bb line 15
Quoted 13 lines
recipes-support/multipath-tools/multipath-tools_git.bb new file +12
-0+ +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" +Is current release 0.4.9 ? I wonder if it will this be ok for upgrade path when a release happens
It is, so upgrade path is safe