Re: jigdo images

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Ralph Angenendt wrote:
>> I have been looking what Fedora is (or was) doing with Jigdo. It seems 
>> to solve some problems and create new ones[1].
> 
> Let me look into that.

 From the os directory something like this should produce jigdo 
files/templates for all associated iso files.

for arch in i386 x86_64
do
     rsync -a --delete --delete-excluded \
         --exclude 'repodata/' --exclude 'EULA' \
         --exclude 'GPL' --exclude 'NOTES/' \
         --exclude 'RELEASE-NOTES*' --exclude 'RPM-GPG-KEY*' \
         --link-dest=../$arch/ $arch/ ${arch}.jigdo/

     for iso in $(find ../isos/i386/ -name '*.iso' -size +100000)
     do
         jigdo-file make-template --force -i $iso \
             -j ${iso%.iso}.jigdo -t ${iso%.iso}.template \
             --label CentOS=$arch.jigdo/ \
             --uri CentOS=http://mirror.centos.org/centos/5/os/$arch/ \
             ${arch}.jigdo//
     done
done

After the files/templates are created they can be moved to a 
different/better location as well as updating the Servers section if 
desired.

Hope this helps someone,

-Shad
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux