diff options
Diffstat (limited to 'meta-oe/recipes-support/lvm2/lvm2.inc')
| -rw-r--r-- | meta-oe/recipes-support/lvm2/lvm2.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc index 3a5e1c46aa..e452f11bf9 100644 --- a/meta-oe/recipes-support/lvm2/lvm2.inc +++ b/meta-oe/recipes-support/lvm2/lvm2.inc | |||
| @@ -11,6 +11,7 @@ SRC_URI = "ftp://sources.redhat.com/pub/lvm2/old/LVM2.${PV}.tgz \ | |||
| 11 | file://0002-use-PTHREAD_MUTEX_RECURSIVE-instead-of-PTHREAD_MUTEX.patch \ | 11 | file://0002-use-PTHREAD_MUTEX_RECURSIVE-instead-of-PTHREAD_MUTEX.patch \ |
| 12 | file://0003-Guard-use-of-mallinfo-with-__GLIBC__.patch \ | 12 | file://0003-Guard-use-of-mallinfo-with-__GLIBC__.patch \ |
| 13 | file://0004-include-fcntl.h-for-O_-defines-and-fcntl-signature.patch \ | 13 | file://0004-include-fcntl.h-for-O_-defines-and-fcntl-signature.patch \ |
| 14 | file://0005-tweak-MODPROBE_CMD-for-cross-compile.patch \ | ||
| 14 | " | 15 | " |
| 15 | 16 | ||
| 16 | S = "${WORKDIR}/LVM2.${PV}" | 17 | S = "${WORKDIR}/LVM2.${PV}" |
| @@ -39,6 +40,8 @@ EXTRA_OECONF = "--with-user= \ | |||
| 39 | --with-systemdsystemunitdir=${systemd_system_unitdir} \ | 40 | --with-systemdsystemunitdir=${systemd_system_unitdir} \ |
| 40 | " | 41 | " |
| 41 | 42 | ||
| 43 | CACHED_CONFIGUREVARS += "MODPROBE_CMD=${base_sbindir}/modprobe" | ||
| 44 | |||
| 42 | do_install_append() { | 45 | do_install_append() { |
| 43 | # Install machine specific configuration file | 46 | # Install machine specific configuration file |
| 44 | install -m 0644 ${WORKDIR}/lvm.conf ${D}${sysconfdir}/lvm/lvm.conf | 47 | install -m 0644 ${WORKDIR}/lvm.conf ${D}${sysconfdir}/lvm/lvm.conf |
