[mirror-admin] missing file in 12-Alpha
Carlos Carvalho
carlos at fisica.ufpr.br
Sun Aug 23 23:06:28 EDT 2009
Mike McGrath (mmcgrath at redhat.com) wrote on 23 August 2009 21:17:
>On Sun, 23 Aug 2009, Carlos Carvalho wrote:
>
>> Jesse Keating (jkeating at redhat.com) wrote on 23 August 2009 10:24:
>> >On Sat, 2009-08-22 at 13:13 -0300, Carlos Carvalho wrote:
>> >> Jigdo is *very* useful for full mirrors because they already have all
>> >> packages and don't need to pull the same thing again in the iso. So
>> >> please keep them.
>> >
>> >How many mirrors are actually using them? So far, I've only head of
>> >you.
>>
>> Since you say below that you won't change it I had to run the normal
>> rsync. It pulled just the isos, almost 29GB, and took almost 5h. So
>> it's a significant hit.
>>
>
>Anyone know of a 'jigdo-ck' or anything that we can run on our final bits
>to verify them for correctness?
jigdo-file has a print-missing command. I tried it but it prints
nothing, meaning that nothing is missing. Therefore this check is not
conclusive.
I suggest generating the isos from the jigdo/templates; if it works
you can be sure they're compatible with the repo. I use something
similar to this:
#!/bin/bash
# generate fedora isos
# usage: this-script release-name
# release-name is the dir in .../fedora-enchilada/linux/releases/release-name/Fedora
cd /home/ftp/fedora-enchilada/linux/releases/$1/Fedora
# work out of the tree so copy everything there
for i in *; do
mkdir -pv /tmp/fedora-jigdo-$1/$i && cp -rv $i/jigdo /tmp/fedora-jigdo-$1/$i
done
cd /tmp/fedora-jigdo-$1
for i in */jigdo; do # for each processor architecture
cd $i
# change all http:// references to file://
for j in *.jigdo; do
sed -i 's;http://download.fedoraproject.org/pub/fedora;file:///home/ftp/fedora-enchilada;' $j
done
# generate isos
for j in *.jigdo; do
jigdo-lite --noask $j
done
cd ../..
done
--
More information about the Mirror-admin
mailing list