This is an old revision of the document!
Prepare an image for upload (torrent/http)
- Compress the image
img=labriqueinternet_"$(date '+%d-%m-%Y')".img loop=$(sudo losetup -f) sudo losetup -o 1048576 $loop $img sudo mount $loop /mnt sudo sfill -z -l -l -f /mnt sudo umount /mnt tar cfJ $img.tar.xz $img
- Upload the tar.xz and torrent files on mirabelle (for http://repo.labriqueinter.net/)
- Create the meta file (torrent)
wget https://raw.githubusercontent.com/labriqueinternet/configuration_scripts/master/utils/publish-image.sh sshfs mirabelle.ldn:/var/www/repo-labriqueinternet /media/pub bash publish-image.sh 2016-05-21