torrent sop fixes/cleanups

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2024-03-25 11:59:31 -07:00 committed by jnsamyak
parent 7b5867070a
commit 83e959b0f4

View file

@ -25,7 +25,7 @@ http://torrent.fedoraproject.org you need to take the following
steps to have it listed correctly:
[arabic]
. login to _torrent02.fedoraproject.org_. If you are unable to do so please
. login to _torrent01.fedoraproject.org_. If you are unable to do so please
contact the fedora infrastructure group about access. This procedure
requires membership in the torrentadmin group.
. Change the group ID to torrentadmin
@ -41,7 +41,7 @@ rm -r /srv/torrent/new/fedora/*
. rsync all the iso's from ibiblio
+
....
rsync -avhHP rsync://download-ib01.fedoraproject.org/fedora-stage/<Version>_<Release>-<Label>/*/*/iso/ /srv/torrent/new/fedora/
rsync -avhHP4 rsync://download-ib01.fedoraproject.org/fedora-buffet0/fedora/linux/releases/test/<Version>_<Release>/*/*/iso/ /srv/torrent/new/fedora/
....
. cd into `/srv/torrent/new/fedora/` to change the directory structure
+
@ -53,6 +53,11 @@ cd /srv/torrent/new/fedora/
....
for iso in $(ls *iso); do dest=$(echo $iso|sed -e 's|-<Label>.iso||g' ); mkdir $dest; mv $iso $dest; done
....
. Verify that the checksums files are all signed.
+
....
cat *CHECKSUM*
....
. Copy the checksum's into the associated directories
+
....
@ -64,10 +69,10 @@ for checksum in $(ls *CHECKSUM); do for file in $(cat $checksum | grep "SHA256 (
ls */
....
. Remove the manifest files and checksums for netinst (since we dont
mirror netinst images) and other files
mirror netinst images) and other files (This includes currently the workstation osbuild iso)
+
....
rm -rf *manifest *netinst* *CHECKSUM *i386 *x86_64
rm -rf *manifest *netinst* *CHECKSUM
....
. Run the maketorrent script from `/srv/torrent/new/fedora/`
+
@ -88,7 +93,7 @@ executable
+
....
cd ~
wget https://pagure.io/releng/raw/master/f/scripts/fedora-torrent-ini.py
wget https://pagure.io/releng/raw/main/f/scripts/fedora-torrent-ini.py
chmod 755 ~/fedora-torrent-ini.py
....
. Run the following command from `/srv/torrent/new/fedora/`