mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-10-01 23:39:36 +00:00
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:
parent
85d96d1cea
commit
9fb484ed57
@ -99,6 +99,11 @@ do_install () {
|
|||||||
-e 's,@SYSCONFDIR@,${sysconfdir},g' \
|
-e 's,@SYSCONFDIR@,${sysconfdir},g' \
|
||||||
-e 's,@SBINDIR@,${sbindir},g' \
|
-e 's,@SBINDIR@,${sbindir},g' \
|
||||||
-i ${D}${systemd_unitdir}/system/*.service
|
-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"
|
INITSCRIPT_NAME = "proftpd"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user