Skip to contentSkip to conversation

add --with-systemdsystemunitdir in configuration

PATCH New Andrei Kholodnyi 3 participants 5 messages Sep 19, 2015 – Sep 21, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add --with-systemdsystemunitdir in configuration

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(+)
meta-oe/recipes-support/lvm2/lvm2.inc +1 -0
index 2b2d8ed..8114d5f 100644
@@ -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)}"
Signature · 1 line
2.1.4
#1 lore raw

PATCH 1/1 add --with-systemdsystemunitdir in configuration

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(+)
meta-oe/recipes-support/lvm2/lvm2.inc +1 -0
index 2b2d8ed..8114d5f 100644
@@ -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)}"
Signature · 1 line
2.1.4
#2 lore raw
Quoted 19 lines · Andrei Kholodnyi

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(+)
meta-oe/recipes-support/lvm2/lvm2.inc +1 -1
index 2b2d8ed..8114d5f 100644
@@ -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)}"
--
Quoted 2 lines

2.1.4

Please mention lvm2 in commit message.

Andreas

#3 lore raw

Hi,

How about using "systemd_system_unitdir" instead of "systemd_unitdir/system" ? You can find it in bitbake.conf

Pau Espin Pedrol
mail/jabber: [email protected]
http://blog.espeweb.net

2015-09-19 21:19 GMT+02:00 Andreas Müller <[email protected]>:

Quoted 34 lines

Review

Quoted 7 lines · Andrei Kholodnyi

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(+)
(quoted diff) +0 -0

b/meta-oe/recipes-support/lvm2/lvm2.inc

meta-oe/recipes-support/lvm2/lvm2.inc EXTRA_OECONF = "--with-user= \ · line 33

Quoted 11 lines

index 2b2d8ed..8114d5f 100644

meta-oe/recipes-support/lvm2/lvm2.inc +1 -0
@@ -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)}"

Quoted 3 lines

--
2.1.4

Please mention lvm2 in commit message.

Andreas
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#4 lore raw

fine with me, I just fixed an installation issue with this package on my machine.
I'll resubmit the patch.