[oe] [meta-oe][PATCH] add --with-systemdsystemunitdir in configuration

Andrei Kholodnyi andrei.kholodnyi at gmail.com
Sat Sep 19 18:30:36 UTC 2015


Otherwise sed command for blk-availability.service may fail.
It will look for the service file in a wrong location
---
 meta-oe/recipes-support/lvm2/lvm2.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc
index 2b2d8ed..8114d5f 100644
--- a/meta-oe/recipes-support/lvm2/lvm2.inc
+++ b/meta-oe/recipes-support/lvm2/lvm2.inc
@@ -27,6 +27,7 @@ EXTRA_OECONF = "--with-user= \
                 --enable-lvmetad \
                 --with-udev-prefix= \
                 --with-usrlibdir=${libdir} \
+                --with-systemdsystemunitdir=${systemd_unitdir}/system \
 "
 
 PACKAGECONFIG += "${@base_contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}"
-- 
2.1.4




More information about the Openembedded-devel mailing list