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:
Sergei Zhmylev 2024-10-22 18:54:35 +03:00 committed by Khem Raj
parent 9ec4514267
commit 753e28c1a8
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -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} \