Updating torrent generation document

Signed-off-by: Mohan Boddu <mboddu@bhujji.com>
This commit is contained in:
Mohan Boddu 2022-05-09 09:48:08 -04:00
parent 508897bc70
commit 6348bf21d9

View file

@ -56,7 +56,7 @@ for iso in $(ls *iso); do dest=$(echo $iso|sed -e 's|-<Label>.iso||g' ); mkdir $
. Copy the checksum's into the associated directories
+
....
for checksum in $(ls *CHECKSUM); do for file in $(grep "SHA256 (" $checksum |sed -e 's|SHA256 (||g' -e 's|-<Label>.*||g' ); do cp $checksum $file ; done; done
for checksum in $(ls *CHECKSUM); do for file in $(cat $checksum | grep "SHA256 (" | awk '{print $2}' | sed -e 's/(\|)//g' | awk -F'-<Label>' '{print $1}'); do cp $checksum $file ; done; done
....
. Verify if all the checksums are copied into the right locations
+
@ -92,6 +92,12 @@ wget https://pagure.io/releng/raw/master/f/scripts/fedora-torrent-ini.py
chmod 755 ~/fedora-torrent-ini.py
....
. Run the following command from `/srv/torrent/new/fedora/`
____
[NOTE]
====
Release is empty for Final release
====
____
+
....
~/fedora-torrent-ini.py <Version>_<Release> <Current_Date> > <Version>_<Release>.ini
@ -107,6 +113,12 @@ cp *torrent /srv/web/torrents/
cp -rl * /srv/torrent/btholding/
....
. Copy the .ini file created in step 12 to `/srv/torrent/torrent-generator/`
____
[NOTE]
====
Release is empty for Final release
====
____
+
....
sudo cp <Version>_<Release>.ini /srv/torrent/torrent-generator/
@ -116,8 +128,7 @@ sudo cp <Version>_<Release>.ini /srv/torrent/torrent-generator/
....
systemctl restart opentracker-ipv4 opentracker-ipv6
sudo -i
su -s /bin/bash torrent
tmux (or tmux attach if the session is already running)
tmux (or tmux attach if the session is already running, generally named att)
control-q if rtorrent is already running.
cd /srv/torrent/btholding
rtorrent *.torrent
@ -136,3 +147,8 @@ At EOL of a release, remove all the directories and torrent files
corresponding to the release in `/srv/torrent/btholding/` directory.
====
[NOTE]
====
If `Failure reason "Requested download is not authorized for use with this tracker."`
issue is thrown by rtorrent, then restart the opentracker-ipv4 and opentracker-ipv6 services
====