diff options
| -rw-r--r-- | meta-oe/recipes-support/lvm2/lvm2.inc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc index 099164c2df..2b2d8ed337 100644 --- a/meta-oe/recipes-support/lvm2/lvm2.inc +++ b/meta-oe/recipes-support/lvm2/lvm2.inc | |||
| @@ -24,6 +24,7 @@ EXTRA_OECONF = "--with-user= \ | |||
| 24 | --enable-udev_rules \ | 24 | --enable-udev_rules \ |
| 25 | --enable-pkgconfig \ | 25 | --enable-pkgconfig \ |
| 26 | --enable-dmeventd \ | 26 | --enable-dmeventd \ |
| 27 | --enable-lvmetad \ | ||
| 27 | --with-udev-prefix= \ | 28 | --with-udev-prefix= \ |
| 28 | --with-usrlibdir=${libdir} \ | 29 | --with-usrlibdir=${libdir} \ |
| 29 | " | 30 | " |
| @@ -38,14 +39,13 @@ do_install_append() { | |||
| 38 | # Install machine specific configuration file | 39 | # Install machine specific configuration file |
| 39 | install -m 0644 ${WORKDIR}/lvm.conf ${D}${sysconfdir}/lvm/lvm.conf | 40 | install -m 0644 ${WORKDIR}/lvm.conf ${D}${sysconfdir}/lvm/lvm.conf |
| 40 | sed -i -e 's:@libdir@:${libdir}:g' ${D}${sysconfdir}/lvm/lvm.conf | 41 | sed -i -e 's:@libdir@:${libdir}:g' ${D}${sysconfdir}/lvm/lvm.conf |
| 41 | install -d ${D}${systemd_unitdir}/system | 42 | oe_runmake 'DESTDIR=${D}' install install_systemd_units |
| 42 | install -m 0644 ${B}/scripts/lvm2_monitoring_systemd_red_hat.service ${D}${systemd_unitdir}/system/lvm2-monitor.service | 43 | sed -i -e 's:/usr/bin/true:${base_bindir}/true:g' ${D}${systemd_unitdir}/system/blk-availability.service |
| 43 | install -m 0644 ${B}/scripts/dm_event_systemd_red_hat.socket ${D}${systemd_unitdir}/system/dm-event.socket | ||
| 44 | install -m 0644 ${B}/scripts/dm_event_systemd_red_hat.service ${D}${systemd_unitdir}/system/dm-event.service | ||
| 45 | } | 44 | } |
| 46 | 45 | ||
| 47 | SYSTEMD_PACKAGES = "${PN}" | 46 | SYSTEMD_PACKAGES = "${PN}" |
| 48 | SYSTEMD_SERVICE_${PN} = "lvm2-monitor.service dm-event.socket dm-event.service" | 47 | SYSTEMD_SERVICE_${PN} = "lvm2-monitor.service dm-event.socket dm-event.service lvm2-lvmetad.socket \ |
| 48 | lvm2-pvscan@.service blk-availability.service" | ||
| 49 | SYSTEMD_AUTO_ENABLE = "disable" | 49 | SYSTEMD_AUTO_ENABLE = "disable" |
| 50 | 50 | ||
| 51 | TARGET_CC_ARCH += "${LDFLAGS}" | 51 | TARGET_CC_ARCH += "${LDFLAGS}" |
