This script takes in argument the image date (2016-05-21
for example), you must have access on LDN servers (bender.ldn-fai.net
and brique.ldn-fai.net
), and you must have the private GPG key of LaBriqueInterNet (0xCD8F4D648AC0ECC1
, available in the LDN password-store, ask ju or sebian for more information).
Note: you need to have `btmakemetafile` installed. Please use the one provided in the package `bittornado` (in Debian or Ubuntu) and not the one in the `bittorrent` package
mkdir /media/pub/ sshfs brique.ldn-fai.net:/var/www/repo.labriqueinter.net /media/pub cp /path/to/the/new/labriqueinternet_A20LIME*.img.tar.xz /media/pub/images/ cd /tmp/ wget https://raw.githubusercontent.com/labriqueinternet/configuration_scripts/master/utils/publish-image.sh
Then, if you have all the requirements, you can run this script!
bash publish-image.sh -i 2016-08-16
This script update the MD5SUMS file with the compressed image, generate the torrent and the asc signature, upload torrents files on the authorized files (on LDN Tracker), and finally update the symlinks.