From Mageia wiki
Jump to: navigation, search

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 torrents
# mv *.torrent torrents/

Preparing for publishing, use rsync to copy files to:
rabbit:/torrents/Active ( rsync -rv Thefolders* /torrents/Active/ )
duvel:/distrib/tmp/newisos/mageia4-v2

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

Publishing isos

On Duvel:

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

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

# su - tmb
$ transmission-daemon

To load the torrents, go to dir with the *.torrents files and do:
$ for file in *.torrent;do transmission-remote -a $file;done
$ exit

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)

Download page on Mageia web site

For cauldron part