summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephan Hoffmann <sho@relinux.de>2013-01-21 08:21:29 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2013-01-21 22:58:18 (GMT)
commited357ebef6042619095e0e3e81cf1dcd27b19abc (patch)
tree112ca0f9f409d748bb01ff151eef1e3395e8da9b
parentd280e814b667d12d836986e50ae72b7d0c0f8ec6 (diff)
downloadbuildroot-ed357ebef6042619095e0e3e81cf1dcd27b19abc.tar.gz
buildroot-ed357ebef6042619095e0e3e81cf1dcd27b19abc.tar.bz2
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 a075e82..36f2645 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