summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/lvm2/lvm2_2.03.02.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-support/lvm2/lvm2_2.03.02.bb')
-rw-r--r--meta-oe/recipes-support/lvm2/lvm2_2.03.02.bb18
1 files changed, 17 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/lvm2/lvm2_2.03.02.bb b/meta-oe/recipes-support/lvm2/lvm2_2.03.02.bb
index 9922ef79d..785c6960e 100644
--- a/meta-oe/recipes-support/lvm2/lvm2_2.03.02.bb
+++ b/meta-oe/recipes-support/lvm2/lvm2_2.03.02.bb
@@ -2,7 +2,7 @@ require lvm2.inc
2 2
3SRCREV = "913c28917e62577a2ef67152b2e5159237503dda" 3SRCREV = "913c28917e62577a2ef67152b2e5159237503dda"
4 4
5SRC_URI += "file://0001-explicitly-do-not-install-libdm.patch \ 5SRC_URI += " \
6 file://0001-dev-hdc-open-failed-No-medium-found-will-print-out-i.patch \ 6 file://0001-dev-hdc-open-failed-No-medium-found-will-print-out-i.patch \
7 " 7 "
8 8
@@ -46,6 +46,13 @@ LVM2_PACKAGECONFIG_append_class-target = " \
46" 46"
47PACKAGECONFIG[udev] = "--enable-udev_sync --enable-udev_rules --with-udevdir=${nonarch_base_libdir}/udev/rules.d,--disable-udev_sync --disable-udev_rules,udev" 47PACKAGECONFIG[udev] = "--enable-udev_sync --enable-udev_rules --with-udevdir=${nonarch_base_libdir}/udev/rules.d,--disable-udev_sync --disable-udev_rules,udev"
48 48
49PACKAGES =+ "libdevmapper"
50FILES_libdevmapper = " \
51 ${libdir}/libdevmapper.so.* \
52 ${sbindir}/dmsetup \
53 ${sbindir}/dmstats \
54"
55
49FILES_${PN} += "${libdir}/device-mapper/*.so" 56FILES_${PN} += "${libdir}/device-mapper/*.so"
50FILES_${PN}-scripts = " \ 57FILES_${PN}-scripts = " \
51 ${sbindir}/blkdeactivate \ 58 ${sbindir}/blkdeactivate \
@@ -65,4 +72,13 @@ RRECOMMENDS_${PN}_class-target = "${PN}-scripts (= ${EXTENDPKGV})"
65 72
66CONFFILES_${PN} += "${sysconfdir}/lvm/lvm.conf" 73CONFFILES_${PN} += "${sysconfdir}/lvm/lvm.conf"
67 74
75SYSROOT_PREPROCESS_FUNCS_append = " remove_libdevmapper_sysroot_preprocess"
76remove_libdevmapper_sysroot_preprocess() {
77 rm -f ${SYSROOT_DESTDIR}${libdir}/libdevmapper.so* \
78 ${SYSROOT_DESTDIR}${sbindir}/dmsetup \
79 ${SYSROOT_DESTDIR}${sbindir}/dmstats \
80 ${SYSROOT_DESTDIR}${includedir}/libdevmapper.h \
81 ${SYSROOT_DESTDIR}${libdir}/pkgconfig/devmapper.pc
82}
83
68BBCLASSEXTEND = "native nativesdk" 84BBCLASSEXTEND = "native nativesdk"