summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Hoffmann <sho@relinux.de>2013-01-21 08:21:29 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-01-21 23:58:18 +0100
commited357ebef6042619095e0e3e81cf1dcd27b19abc (patch)
tree112ca0f9f409d748bb01ff151eef1e3395e8da9b
parentd280e814b667d12d836986e50ae72b7d0c0f8ec6 (diff)
downloadbuildroot-novena-ed357ebef6042619095e0e3e81cf1dcd27b19abc.tar.gz
buildroot-novena-ed357ebef6042619095e0e3e81cf1dcd27b19abc.zip
vsftpd: add empty directory /usr/share/empty
Vsftpd needs an empty directory where it can chroot. If /usr/share/empty isn't present it refuses to work in the default configuration. Signed-off-by: Stephan Hoffmann <sho@relinux.de> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/vsftpd/vsftpd.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/vsftpd/vsftpd.mk b/package/vsftpd/vsftpd.mk
index a075e8262..36f264589 100644
--- a/package/vsftpd/vsftpd.mk
+++ b/package/vsftpd/vsftpd.mk
@@ -47,6 +47,7 @@ define VSFTPD_INSTALL_TARGET_CMDS
test -f $(TARGET_DIR)/etc/vsftpd.conf || \
$(INSTALL) -D -m 644 $(@D)/vsftpd.conf \
$(TARGET_DIR)/etc/vsftpd.conf
+ install -d -m 700 $(TARGET_DIR)/usr/share/empty
endef
define VSFTPD_UNINSTALL_TARGET_CMDS