mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
multipath-tools: set etc_prefix to sysconfdir
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 <s.zhmylev@yadro.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -72,6 +72,7 @@ ARM_INSTRUCTION_SET:armv5 = "arm"
|
|||||||
EXTRA_OEMAKE = 'MULTIPATH_VERSION=${PV} DESTDIR=${D} syslibdir=${base_libdir} \
|
EXTRA_OEMAKE = 'MULTIPATH_VERSION=${PV} DESTDIR=${D} syslibdir=${base_libdir} \
|
||||||
OPTFLAGS="${CFLAGS}" \
|
OPTFLAGS="${CFLAGS}" \
|
||||||
prefix=${prefix} \
|
prefix=${prefix} \
|
||||||
|
etc_prefix=${sysconfdir} \
|
||||||
bindir=${base_sbindir} \
|
bindir=${base_sbindir} \
|
||||||
LIB=${base_libdir} libdir=${base_libdir}/multipath \
|
LIB=${base_libdir} libdir=${base_libdir}/multipath \
|
||||||
usrlibdir=${libdir} \
|
usrlibdir=${libdir} \
|
||||||
|
|||||||
Reference in New Issue
Block a user