Makefile of multipath-tools uses $prefix as a destination prefix.
As soon as we added usrmerge feature, multipath default configuration
placed under /usr/etc/ resulting into problems locating them via a
hard-coded path inside the tools.
This change explicitly sets etc_prefix to ${sysconfdir} in order to
recover default behaviour.

Signed-off-by: Sergei Zhmylev <[email protected]>
---
 .../recipes-support/multipath-tools/multipath-tools_0.10.0.bb    | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-support/multipath-tools/multipath-tools_0.10.0.bb 
b/meta-oe/recipes-support/multipath-tools/multipath-tools_0.10.0.bb
index a09fbb221..18874e909 100644
--- a/meta-oe/recipes-support/multipath-tools/multipath-tools_0.10.0.bb
+++ b/meta-oe/recipes-support/multipath-tools/multipath-tools_0.10.0.bb
@@ -72,6 +72,7 @@ ARM_INSTRUCTION_SET:armv5 = "arm"
 EXTRA_OEMAKE = 'MULTIPATH_VERSION=${PV} DESTDIR=${D} syslibdir=${base_libdir} \
                 OPTFLAGS="${CFLAGS}" \
                 prefix=${prefix} \
+                etc_prefix=${sysconfdir} \
                 bindir=${base_sbindir} \
                 LIB=${base_libdir} libdir=${base_libdir}/multipath \
                 usrlibdir=${libdir} \
-- 
2.45.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#113090): 
https://lists.openembedded.org/g/openembedded-devel/message/113090
Mute This Topic: https://lists.openembedded.org/mt/109154456/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to