[oe] [meta-oe][PATCH] multipath-tools: add recipe for git version

Koen Kooi koen at dominion.thruhere.net
Wed Mar 27 10:25:32 UTC 2013


Op 27 mrt. 2013, om 11:20 heeft Andreas Müller <schnitzeltony at googlemail.com> het volgende geschreven:

> On Wed, Mar 27, 2013 at 11:07 AM, Koen Kooi <koen at dominion.thruhere.net> wrote:
>> 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 <koen at dominion.thruhere.net>
>> ---
>> .../multipath-tools/multipath-tools_git.bb         | 34 ++++++++++++++++++++++
>> 1 file changed, 34 insertions(+)
>> create mode 100644 recipes-support/multipath-tools/multipath-tools_git.bb
>> 
>> diff --git a/recipes-support/multipath-tools/multipath-tools_git.bb b/recipes-support/multipath-tools/multipath-tools_git.bb
>> new file mode 100644
>> index 0000000..1b83f49
>> --- /dev/null
>> +++ b/recipes-support/multipath-tools/multipath-tools_git.bb
>> @@ -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
>> +}
>> +
> Is overwriting do_compile & do_install required?

do_install, yes, do_compile probably not



More information about the Openembedded-devel mailing list