samba: Fix build on Fedora 17

* 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

* MJ: fixed whitespaces

Signed-off-by: Ting Liu <b28495@freescale.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Ting Liu
2012-12-14 08:19:41 +00:00
committed by Martin Jansa
parent 6bb2148746
commit 86c8f4503c
2 changed files with 5 additions and 4 deletions
+4 -3
View File
@@ -84,11 +84,12 @@ do_install_append() {
install -d ${D}/var/log/samba
install -d ${D}/var/spool/samba
# Install other stuff not installed by "make install"
install -m 0644 ${WORKDIR}/${PN}-${PV}/nsswitch/libnss_winbind.so ${D}${libdir}/libnss_winbind.so.2
install -m 0644 ${WORKDIR}/${PN}-${PV}/nsswitch/libnss_wins.so ${D}${libdir}/libnss_wins.so.2
# Install other stuff not installed by "make install"
install -m 0644 ${WORKDIR}/${PN}-${PV}/nsswitch/libnss_winbind.so ${D}${libdir}/libnss_winbind.so.2
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
}
@@ -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 \