[oe] Change to vsftpd recipe

Diego Sueiro diego.sueiro at gmail.com
Thu Nov 28 17:08:24 UTC 2013


Folks,

I realized that when trying to connect via ftp to a target system (which
has vsftpd installed) I should had to create the /var/run/vsftpd/empty
directory before.

Bellow is the patch to create the folder on vsftpd install task:

diff --git a/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.0.bbb/meta-networking/recipes-daemons/vsftpd/
vsftpd_3.0.0.bb
index 49d5d2a..82466d1 100644
--- a/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.0.bb
+++ b/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.0.bb
@@ -70,6 +70,8 @@ do_install() {
         sed -i "s:/lib/security:${base_libdir}/security:"
${D}${sysconfdir}/pam.d/vsftpd
         sed -i "s:ftpusers:vsftpd.ftpusers:" ${D}${sysconfdir}/pam.d/vsftpd
     fi
+
+    install -d ${D}${localstatedir}/run/vsftpd/empty
 }

 INITSCRIPT_PACKAGES = "${PN}"



Regards,

--
*dS
Diego Sueiro

/*long live rock 'n roll*/



More information about the Openembedded-devel mailing list