diff options
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.bb | 18 |
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 | ||
3 | SRCREV = "913c28917e62577a2ef67152b2e5159237503dda" | 3 | SRCREV = "913c28917e62577a2ef67152b2e5159237503dda" |
4 | 4 | ||
5 | SRC_URI += "file://0001-explicitly-do-not-install-libdm.patch \ | 5 | SRC_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 | " |
47 | PACKAGECONFIG[udev] = "--enable-udev_sync --enable-udev_rules --with-udevdir=${nonarch_base_libdir}/udev/rules.d,--disable-udev_sync --disable-udev_rules,udev" | 47 | PACKAGECONFIG[udev] = "--enable-udev_sync --enable-udev_rules --with-udevdir=${nonarch_base_libdir}/udev/rules.d,--disable-udev_sync --disable-udev_rules,udev" |
48 | 48 | ||
49 | PACKAGES =+ "libdevmapper" | ||
50 | FILES_libdevmapper = " \ | ||
51 | ${libdir}/libdevmapper.so.* \ | ||
52 | ${sbindir}/dmsetup \ | ||
53 | ${sbindir}/dmstats \ | ||
54 | " | ||
55 | |||
49 | FILES_${PN} += "${libdir}/device-mapper/*.so" | 56 | FILES_${PN} += "${libdir}/device-mapper/*.so" |
50 | FILES_${PN}-scripts = " \ | 57 | FILES_${PN}-scripts = " \ |
51 | ${sbindir}/blkdeactivate \ | 58 | ${sbindir}/blkdeactivate \ |
@@ -65,4 +72,13 @@ RRECOMMENDS_${PN}_class-target = "${PN}-scripts (= ${EXTENDPKGV})" | |||
65 | 72 | ||
66 | CONFFILES_${PN} += "${sysconfdir}/lvm/lvm.conf" | 73 | CONFFILES_${PN} += "${sysconfdir}/lvm/lvm.conf" |
67 | 74 | ||
75 | SYSROOT_PREPROCESS_FUNCS_append = " remove_libdevmapper_sysroot_preprocess" | ||
76 | remove_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 | |||
68 | BBCLASSEXTEND = "native nativesdk" | 84 | BBCLASSEXTEND = "native nativesdk" |