samba: fix shebang for pidl
PATCH 1/2 samba: fix shebang for pidl
The shebang in pidl points to wrong location:
$ pidl -sh: /usr/bin/pidl: /buildarea/build/tmp-glibc/hosttools/env: bad interpreter: No such file or directory
Signed-off-by Yi Zhao <[email protected]>
--- meta-networking/recipes-connectivity/samba/samba_4.14.5.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-connectivity/samba/samba_4.14.5.bb +1 -1
@@ -211,7 +211,7 @@ do_install_append() { oe_runmake -C ${S}/pidl DESTDIR=${D} install_vendor find ${D}${libdir}/ -type f -name "perllocal.pod" | xargs rm -f rm -rf ${D}${libdir}/perl5/vendor_perl/${PERLVERSION}/${BUILD_SYS}/auto/Parse/Pidl/.packlist - + sed -i -e '1s,#!.*perl,#!${bindir}/env perl,' ${D}${bindir}/pidl } PACKAGES =+ "${PN}-python3 ${PN}-pidl \
Signature · 1 line
2.25.1
PATCH 2/2 samba: add missing runtime dependency for pidl
Add libparse-yapp-perl to RDEPENDS for pidl.
Fixes:
$ pidl Can't locate Parse/Yapp/Driver.pm in @INC (you may need to install the Parse::Yapp::Driver module)
Signed-off-by Yi Zhao <[email protected]>
--- meta-networking/recipes-connectivity/samba/samba_4.14.5.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-connectivity/samba/samba_4.14.5.bb +1 -1
@@ -316,7 +316,7 @@ FILES_smbclient = "${bindir}/cifsdd \ ${bindir}/smbtree \ ${libdir}/samba/smbspool_krb5_wrapper" -RDEPENDS_${PN}-pidl_append = " perl" +RDEPENDS_${PN}-pidl_append = " perl libparse-yapp-perl" FILES_${PN}-pidl = "${bindir}/pidl \ ${libdir}/perl5 \ "
Signature · 1 line
2.25.1