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
- Create the meta file (torrent)
for img in $(ls ../brique/) do echo $img; btmakemetafile http://ldn-fai.net:6969/announce \ $img --announce_list \ 'http://ldn-fai.net:6969/announce|udp://tracker.torrent.eu.org:451' \ --comment 'La Brique Internet : http://labriqueinter.net/' \ --httpseeds 'http://repo.labriqueinter.net'; done
- Upload the `tar.xz` and `torrent` files on `mirabelle` (for http://repo.labriqueinter.net/)
- Upload the `torrent` file on `ginkgo` in `/torrent/btfiles/` (for allowed torrent on LDN tracker)