Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | SECTION = "utils" |
| 2 | DESCRIPTION = "LVM2 is a set of utilities to manage logical volumes in Linux." |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 3 | LICENSE = "GPLv2 & LGPLv2" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame^] | 4 | LIC_FILES_CHKSUM = "file://COPYING;md5=12713b4d9386533feeb07d6e4831765a \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 5 | file://COPYING.LIB;md5=fbc093901857fcd118f065f900982c24" |
| 6 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame^] | 7 | DEPENDS += "util-linux" |
| 8 | |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 9 | SRC_URI = "ftp://sources.redhat.com/pub/lvm2/old/LVM2.${PV}.tgz \ |
| 10 | file://lvm.conf \ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame^] | 11 | file://0001-implement-libc-specific-reopen_stream.patch \ |
| 12 | file://0002-Guard-use-of-mallinfo-with-__GLIBC__.patch \ |
| 13 | file://0003-include-fcntl.h-for-O_-defines-and-fcntl-signature.patch \ |
| 14 | file://0004-tweak-MODPROBE_CMD-for-cross-compile.patch \ |
| 15 | file://0001-Avoid-bashisms-in-init-scripts.patch \ |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 16 | " |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 17 | S = "${WORKDIR}/LVM2.${PV}" |
| 18 | |
| 19 | inherit autotools-brokensep pkgconfig systemd |
| 20 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame^] | 21 | # odirect is always enabled because there currently is a bug in |
| 22 | # lib/device/dev-io.c which prevents compiling without it. It is |
| 23 | # better to stick to configurations that were actually tested by |
| 24 | # upstream... |
| 25 | PACKAGECONFIG_append = " odirect" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 26 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame^] | 27 | PACKAGECONFIG[dmeventd] = "--enable-dmeventd,--disable-dmeventd" |
| 28 | PACKAGECONFIG[lvmetad] = "--enable-lvmetad,--disable-lvmetad" |
| 29 | PACKAGECONFIG[odirect] = "--enable-o_direct,--disable-o_direct" |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 30 | PACKAGECONFIG[readline] = "--enable-readline,--disable-readline,readline" |
| 31 | PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux" |
Patrick Williams | ddad1a1 | 2017-02-23 20:36:32 -0600 | [diff] [blame] | 32 | PACKAGECONFIG[thin-provisioning-tools] = "--with-thin=internal,--with-thin=none,,thin-provisioning-tools" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame^] | 33 | PACKAGECONFIG[udev] = "--enable-udev_sync --enable-udev_rules --with-udevdir=${nonarch_base_libdir}/udev/rules.d,--disable-udev_sync --disable-udev_rules,udev" |