proftpd: clean the host path in prxs

prxs (PRoftpd eXtenSion tool) is a perl script,
in which the host path should be avoided.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
Jackie Huang 2016-08-04 04:42:26 -04:00 committed by Joe MacDonald
parent 85d96d1cea
commit 9fb484ed57

View File

@ -99,6 +99,11 @@ do_install () {
-e 's,@SYSCONFDIR@,${sysconfdir},g' \
-e 's,@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"