* also rename files to lvm2 for faster FILESPATH lookup
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
DESCRIPTION = "LVM2 is a set of utilities to manage logical volumes in Linux."
LICENSE = "GPL"
DEPENDS = "device-mapper"
-INC_PR = "r2"
+INC_PR = "r3"
S = "${WORKDIR}/LVM2.${PV}"
SRC_URI = "ftp://sources.redhat.com/pub/lvm2/old/LVM2.${PV}.tgz \
inherit autotools
-# We don't need to stage anything (the executables are no needed at build time by any
-# other recipe)
-do_stage() {
-}
-
do_install_append() {
# Install machine specific configuration file
install -m 0644 ${WORKDIR}/lvm.conf ${D}${sysconfdir}/lvm/lvm.conf
--- /dev/null
+diff -uNr LVM2.2.01.15.orig//lib/filters/filter-sysfs.c LVM2.2.01.15/lib/filters/filter-sysfs.c
+--- LVM2.2.01.15.orig//lib/filters/filter-sysfs.c 2005-03-10 23:34:17.000000000 +0100
++++ LVM2.2.01.15/lib/filters/filter-sysfs.c 2010-10-22 12:28:36.000000000 +0200
+@@ -20,6 +20,7 @@
+ #ifdef linux
+
+ #include <dirent.h>
++#include <sys/stat.h>
+
+ static int _locate_sysfs_blocks(const char *proc, char *path, size_t len)
+ {
require lvm2.inc
+SRC_URI += "file://eglibc-2.12.patch"
+
PR = "${INC_PR}.0"
SRC_URI[md5sum] = "c71654baff263254fb5a226624ee8ef3"