mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
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:
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user