summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-connectivity/samba/samba.inc
diff options
context:
space:
mode:
authorTing Liu <b28495@freescale.com>2012-12-14 08:19:41 +0000
committerMartin Jansa <Martin.Jansa@gmail.com>2012-12-16 21:11:43 +0100
commit86c8f4503c7d2965322b442686e0c1a43ed15e7c (patch)
treeb39e32bcf358d944e02787e0455397605835b3ea /meta-oe/recipes-connectivity/samba/samba.inc
parent6bb2148746ba8cd2eb23ad54798efda47bef77c6 (diff)
downloadmeta-openembedded-86c8f4503c7d2965322b442686e0c1a43ed15e7c.tar.gz
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>
Diffstat (limited to 'meta-oe/recipes-connectivity/samba/samba.inc')
-rw-r--r--meta-oe/recipes-connectivity/samba/samba.inc7
1 files changed, 4 insertions, 3 deletions
diff --git a/meta-oe/recipes-connectivity/samba/samba.inc b/meta-oe/recipes-connectivity/samba/samba.inc
index d39a84a91..416334a5d 100644
--- a/meta-oe/recipes-connectivity/samba/samba.inc
+++ b/meta-oe/recipes-connectivity/samba/samba.inc
@@ -84,11 +84,12 @@ do_install_append() {
84 install -d ${D}/var/log/samba 84 install -d ${D}/var/log/samba
85 install -d ${D}/var/spool/samba 85 install -d ${D}/var/spool/samba
86 86
87 # Install other stuff not installed by "make install" 87 # Install other stuff not installed by "make install"
88 install -m 0644 ${WORKDIR}/${PN}-${PV}/nsswitch/libnss_winbind.so ${D}${libdir}/libnss_winbind.so.2 88 install -m 0644 ${WORKDIR}/${PN}-${PV}/nsswitch/libnss_winbind.so ${D}${libdir}/libnss_winbind.so.2
89 install -m 0644 ${WORKDIR}/${PN}-${PV}/nsswitch/libnss_wins.so ${D}${libdir}/libnss_wins.so.2 89 install -m 0644 ${WORKDIR}/${PN}-${PV}/nsswitch/libnss_wins.so ${D}${libdir}/libnss_wins.so.2
90 90
91 rmdir ${D}${base_sbindir} 91 rmdir ${D}${base_sbindir}
92 sed -i -e '1s,#!.*perl,#!${USRBINPATH}/env perl,' ${D}${bindir}/findsmb
92} 93}
93 94
94 95