[oe] [meta-networking][PATCH] proftpd: clean the host path in prxs
jackie.huang at windriver.com
jackie.huang at windriver.com
Thu Aug 4 08:42:26 UTC 2016
From: Jackie Huang <jackie.huang at windriver.com>
prxs (PRoftpd eXtenSion tool) is a perl script,
in which the host path should be avoided.
Signed-off-by: Jackie Huang <jackie.huang at windriver.com>
---
meta-networking/recipes-daemons/proftpd/proftpd_1.3.5a.bb | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/meta-networking/recipes-daemons/proftpd/proftpd_1.3.5a.bb b/meta-networking/recipes-daemons/proftpd/proftpd_1.3.5a.bb
index 2a36083..ed6356b 100644
--- a/meta-networking/recipes-daemons/proftpd/proftpd_1.3.5a.bb
+++ b/meta-networking/recipes-daemons/proftpd/proftpd_1.3.5a.bb
@@ -98,6 +98,11 @@ do_install () {
-e 's, at SYSCONFDIR@,${sysconfdir},g' \
-e 's, at SBINDIR@,${sbindir},g' \
-i ${D}${systemd_unitdir}/system/*.service
+
+ sed -e 's|--sysroot=${STAGING_DIR_HOST}||g' \
+ -e 's|${STAGING_DIR_NATIVE}||g' \
+ -e 's|-fdebug-prefix-map=[^ ]*||g' \
+ -i ${D}/${bindir}/prxs
}
INITSCRIPT_NAME = "proftpd"
--
2.8.1
More information about the Openembedded-devel
mailing list