aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/drbd/drbd_9.2.1.bb
blob: 48ce2abf094fb0ed5d88a7b9fd0024de89962459 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
SUMMARY = "Distributed block device driver for Linux"
DESCRIPTION = "DRBD is a block device which is designed to build high \
               availability clusters. This is done by mirroring a whole \
               block device via (a dedicated) network. You could see \
               it as a network raid-1."
HOMEPAGE = "http://oss.linbit.com/drbd/"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=5574c6965ae5f583e55880e397fbb018"
DEPENDS = "virtual/kernel"

SRC_URI = "https://pkg.linbit.com//downloads/drbd/9/${BP}.tar.gz \
           file://check_existence_of_modules_before_installing.patch \
           "
SRC_URI[sha256sum] = "f59ee795188f21d4a62c5319c371ebad65ab3fb9b55e5212c3f1dd558978a843"

inherit module

EXTRA_OEMAKE += "KDIR='${STAGING_KERNEL_DIR}' SPAAS=true"

do_install () {
    oe_runmake install DESTDIR="${D}"
}

SKIP_RECIPE[drbd] ?= "Needs coccinelle to build with SPAAS"