This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Add the install to local.conf: | |
IMAGE_INSTALL_append = " pure-ftpd" | |
# Build yocto image and burn image, boot up | |
# Create an ftp user to allow access. Make the home directory a dir on the volatile filesysten (ie RAM) | |
useradd -d /var/volatile/tmp/ftp -s /sbin/nologin ftp | |
# Create a big file: | |
dd bs=2048 count=204850 < /dev/urandom > /var/volatile/tmp/ftp/tmp.img | |
# Run ftp allowing anon access https://linux.die.net/man/8/pure-ftpd | |
pure-ftpd pure-ftpd -A |
NewerOlder