samba: Fix build on Fedora 17
From: Ting Liu <[email protected]>
Fedora 17 has /bin/perl, this causes samba build to put perl interpreter path as /bin/perl But we set perl location for target as /usr/bin/perl
This mismatch of perl path causes failure of rootfs image creation:
| error: Failed dependencies:
| /bin/perl is needed by samba-3.6.8-r3.ppce5500
Signed-off-by Ting Liu <[email protected]>
--- meta-oe/recipes-connectivity/samba/samba.inc | 1 + meta-oe/recipes-connectivity/samba/samba_3.6.8.bb | 2 +- 2 files changed, 2 insertions(+), 1 deletions(-)
meta-oe/recipes-connectivity/samba/samba.inc +1 -0
@@ -89,6 +89,7 @@ do_install_append() { install -m 0644 ${WORKDIR}/${PN}-${PV}/nsswitch/libnss_wins.so ${D}${libdir}/libnss_wins.so.2 rmdir ${D}${base_sbindir} + sed -i -e '1s,#!.*perl,#!${USRBINPATH}/env perl,' ${D}${bindir}/findsmb }
meta-oe/recipes-connectivity/samba/samba_3.6.8.bb +1 -1
@@ -3,7 +3,7 @@ require samba-basic.inc LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://../COPYING;md5=d32239bcb673463ab874e80d47fae504" -PR = "r3" +PR = "r4" SRC_URI += "\ file://config-h.patch \
Signature · 1 line
1.7.3.4