From Mageia wiki
Revision as of 12:49, 23 March 2014 by Tmb (talk | contribs)
Jump to: navigation, search

This is info regarding publishing isos:


Signing ISOs

Signature of ISOs is done on rabbit, using the account "releasekey", and the script /usr/local/bin/sign_checksums. Make sure the directories containing the ISOs are owned by group releasekey, and group can write in the directory. Then run the script sign_checksums on the directories :

rabbit# su - releasekey
rabbit$ for dir in /home/bcd/public_html/isos/mageia4-v2/Mageia-4.1-*
        do sign_checksums $dir
        done
rabbit$ exit

Creating torrents:

# pushd /home/bcd/public_html/isos/mageia4-v2/
# rm -f *Live*/*.{full,leaves,names}
# /home/tmb/create_torrent.sh
# md torrent
# mv *.torrent torrent/

Preparing for publishing, use rsync to copy files to:
rabbit:/torrent/Active
alamut:/torrent/Active
valstar:/distrib/tmp/newisos/mageia4-v2

Check that the permissions on valstar are 755 for dirs and 644 for files or mirrors will get rsync problems!

Publishing isos:

On Valstar:

# mv /distrib/tmp/newisos/mageia4-v2 /distrib/mirror/iso/4.1

On Alamut, check that transmission-daemon is running, and if not (it dies sometimes) start it (as root) with:

# transmission-daemon

On Rabbit, check that transmission-daemon is running, and if not (it dies sometimes) start it (as tmb) with:

# transmission-daemon

To load the torrents (on alamut and rabbit), go to dir with the *.torrents files and do:

# for file in *.torrent;do transmission-remote -a $file;done

And that is all needed, the the torrents will self-register with the trackers so it will be available to all.
(not including terasaur, as that is connected to my personal google account, so I'll take care of that one for now)