mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 00:32:12 +02:00
nfs-utils: don't force use of /sbin as sbindir
The Makefile for mount and osd_login utilities forces /sbin as asbindir, however on a merged /usr system this directory might not exist. Instead sed in the system sbindir. (From OE-Core rev: da8269ed0fd609699b23c2e3e6c61bc54f7b2832) Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
73a6fe958f
commit
1e9ed16b82
@@ -90,6 +90,14 @@ RDEPENDS_${PN}-stats = "python"
|
||||
|
||||
FILES_${PN} += "${systemd_unitdir}"
|
||||
|
||||
do_configure_prepend() {
|
||||
sed -i -e 's,sbindir = /sbin,sbindir = ${base_sbindir},g' \
|
||||
${S}/utils/mount/Makefile.am
|
||||
|
||||
sed -i -e 's,sbindir = /sbin,sbindir = ${base_sbindir},g' \
|
||||
${S}/utils/osd_login/Makefile.am
|
||||
}
|
||||
|
||||
# Make clean needed because the package comes with
|
||||
# precompiled 64-bit objects that break the build
|
||||
do_compile_prepend() {
|
||||
|
||||
Reference in New Issue
Block a user