diff options
Diffstat (limited to 'meta-networking/recipes-support/drbd/drbd-utils_9.27.0.bb')
-rw-r--r-- | meta-networking/recipes-support/drbd/drbd-utils_9.27.0.bb | 76 |
1 files changed, 0 insertions, 76 deletions
diff --git a/meta-networking/recipes-support/drbd/drbd-utils_9.27.0.bb b/meta-networking/recipes-support/drbd/drbd-utils_9.27.0.bb deleted file mode 100644 index 63f0fd18c1..0000000000 --- a/meta-networking/recipes-support/drbd/drbd-utils_9.27.0.bb +++ /dev/null | |||
@@ -1,76 +0,0 @@ | |||
1 | SUMMARY = "Distributed block device driver for Linux" | ||
2 | DESCRIPTION = "DRBD mirrors a block device over the network to another machine.\ | ||
3 | Think of it as networked raid 1. It is a building block for\ | ||
4 | setting up high availability (HA) clusters." | ||
5 | HOMEPAGE = "http://www.drbd.org/" | ||
6 | SECTION = "admin" | ||
7 | LICENSE = "GPL-2.0-or-later" | ||
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=5574c6965ae5f583e55880e397fbb018" | ||
9 | |||
10 | SRC_URI = "git://github.com/LINBIT/drbd-utils;name=drbd-utils;branch=master;protocol=https \ | ||
11 | git://github.com/LINBIT/drbd-headers;name=drbd-headers;destsuffix=git/drbd-headers;branch=master;protocol=https \ | ||
12 | file://0001-drbdmon-add-LDFLAGS-when-linking.patch \ | ||
13 | ${@bb.utils.contains('DISTRO_FEATURES','usrmerge','file://0001-drbd-utils-support-usrmerge.patch','',d)} \ | ||
14 | file://0001-configure.ac-Add-an-option-to-disable-host-udev-vers.patch \ | ||
15 | " | ||
16 | SRCREV_drbd-utils = "fdd9a4d603a9dc99d110d8bd0e288d7c0b6f586e" | ||
17 | SRCREV_drbd-headers = "0349f00825b4198d4ec3248f43884114a187676a" | ||
18 | |||
19 | SRCREV_FORMAT = "drbd-utils_drbd-headers" | ||
20 | |||
21 | S = "${WORKDIR}/git" | ||
22 | |||
23 | UPSTREAM_CHECK_URI = "https://github.com/LINBIT/drbd-utils/releases" | ||
24 | |||
25 | SYSTEMD_SERVICE:${PN} = "drbd.service" | ||
26 | SYSTEMD_AUTO_ENABLE = "disable" | ||
27 | |||
28 | DEPENDS = "flex-native keyutils" | ||
29 | |||
30 | inherit autotools-brokensep systemd | ||
31 | |||
32 | # -Wunused-but-set-variable -Wunused-const-variable -Winconsistent-missing-override | ||
33 | CPPFLAGS:append = " -Wno-error" | ||
34 | |||
35 | EXTRA_OECONF = " \ | ||
36 | --with-initdir=/etc/init.d \ | ||
37 | --without-pacemaker \ | ||
38 | --without-rgmanager \ | ||
39 | --without-bashcompletion \ | ||
40 | --with-distro debian \ | ||
41 | --with-initscripttype=both \ | ||
42 | --with-systemdunitdir=${systemd_unitdir}/system \ | ||
43 | --without-manual \ | ||
44 | --disable-udevchecks \ | ||
45 | " | ||
46 | |||
47 | # If we have inherited reproducible_build, we want to use it. | ||
48 | export WANT_DRBD_REPRODUCIBLE_BUILD = "yes" | ||
49 | |||
50 | do_install:append() { | ||
51 | # don't install empty /var/lock and /var/run to avoid conflict with base-files | ||
52 | rm -rf ${D}${localstatedir}/lock | ||
53 | rm -rf ${D}${localstatedir}/run | ||
54 | |||
55 | sed -i -e 's#@nonarch_libdir@#${nonarch_libdir}#g' ${D}${systemd_unitdir}/system/drbd-demote-or-escalate@.service | ||
56 | sed -i -e 's#@nonarch_libdir@#${nonarch_libdir}#g' ${D}${systemd_unitdir}/system/drbd-promote@.service | ||
57 | sed -i -e 's#@nonarch_libdir@#${nonarch_libdir}#g' ${D}${systemd_unitdir}/system/drbd-wait-promotable@.service | ||
58 | sed -i -e 's#@nonarch_libdir@#${nonarch_libdir}#g' ${D}${systemd_unitdir}/system/drbd.service | ||
59 | sed -i -e 's#@nonarch_libdir@#${nonarch_libdir}#g' ${D}${systemd_unitdir}/system/drbd@.service | ||
60 | sed -i -e 's#@nonarch_libdir@#${nonarch_libdir}#g' ${D}${systemd_unitdir}/system/ocf.ra@.service | ||
61 | } | ||
62 | |||
63 | RDEPENDS:${PN} += "bash perl-module-getopt-long perl-module-exporter perl-module-constant perl-module-overloading perl-module-exporter-heavy" | ||
64 | |||
65 | # The drbd items are explicitly put under /lib when installed. | ||
66 | # | ||
67 | FILES:${PN} += "/run" | ||
68 | FILES:${PN} += "${nonarch_base_libdir}/drbd \ | ||
69 | ${nonarch_libdir}/drbd \ | ||
70 | ${nonarch_libdir}/tmpfiles.d \ | ||
71 | ${nonarch_libdir}/drbdscripts/* \ | ||
72 | ${systemd_unitdir}/system/* \ | ||
73 | " | ||
74 | FILES:${PN}-dbg += "${nonarch_base_libdir}/drbd/.debug" | ||
75 | |||
76 | CLEANBROKEN = "1" | ||