[OE-core] [PATCH 8/9] nfs-utils: don't force use of /sbin as sbindir
Joshua Lock
joshua.lock at collabora.co.uk
Thu Sep 3 14:58:23 UTC 2015
In a system with a merged /usr /sbin isn't packaged.
Signed-off-by: Joshua Lock <joshua.lock at collabora.co.uk>
---
meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.1.bb | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.1.bb b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.1.bb
index 6da8509..42101de 100644
--- a/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.1.bb
+++ b/meta/recipes-connectivity/nfs-utils/nfs-utils_1.3.1.bb
@@ -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() {
--
2.1.4
More information about the Openembedded-core
mailing list