aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/lvm2/lvm2.inc
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-06-24 09:31:58 +0200
committerKoen Kooi <koen@dominion.thruhere.net>2011-06-24 09:31:58 +0200
commitad0d67af1241b1477b583ab58ddd47aa6a75b5c6 (patch)
treebba23e51539ceae15946e7770de0b4fde1124e7e /meta-oe/recipes-support/lvm2/lvm2.inc
parent4555a53c9141094e0ed6ffa16b1c50ae7dfda6d0 (diff)
downloadmeta-openembedded-ad0d67af1241b1477b583ab58ddd47aa6a75b5c6.tar.gz
lvm2: import from OE rev 58b79786c6b1ee26340b20e7606d2144f52543ed
update and clean Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-support/lvm2/lvm2.inc')
-rw-r--r--meta-oe/recipes-support/lvm2/lvm2.inc38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc
new file mode 100644
index 0000000000..781f5970a8
--- /dev/null
+++ b/meta-oe/recipes-support/lvm2/lvm2.inc
@@ -0,0 +1,38 @@
+SECTION = "utils"
+DESCRIPTION = "LVM2 is a set of utilities to manage logical volumes in Linux."
+LICENSE = "GPLv2 && LGPLv2"
+LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
+ file://COPYING.LIB;md5=fbc093901857fcd118f065f900982c24"
+INC_PR = "r0"
+
+
+S = "${WORKDIR}/LVM2.${PV}"
+SRC_URI = "ftp://sources.redhat.com/pub/lvm2/old/LVM2.${PV}.tgz \
+ file://lvm.conf"
+
+# Unset user/group to unbreak install.
+EXTRA_OECONF = "--with-user= \
+ --with-group= \
+ --disable-o_direct \
+ --enable-realtime \
+ --enable-applib \
+ --enable-cmdlib \
+ --enable-udev_sync \
+ --enable-udev_rules \
+ --enable-pkgconfig \
+ --enable-dmeventd \
+ --with-udev-prefix= \
+ "
+
+inherit autotools
+
+do_install_append() {
+ # Install machine specific configuration file
+ install -m 0644 ${WORKDIR}/lvm.conf ${D}${sysconfdir}/lvm/lvm.conf
+}
+
+TARGET_CC_ARCH += "${LDFLAGS}"
+
+FILES_${PN} += "${libdir}/device-mapper/*.so ${base_libdir}/udev"
+FILES_${PN}-dbg += "${libdir}/device-mapper/.debug"
+