[CentOS-devel] [CentOS] jigdo images
Scott Dowdle
dowdle at montanalinux.org
Fri May 8 15:04:43 UTC 2009
Ralph,
----- "Ralph Angenendt" <ra+centos at br-online.de> wrote:
> Shad L. Lords wrote:
> > I'd guess that your basic os tree you created isn't in the same format
> > as the mirrors then. I'm running it against the non-dvd mirror that I
> > have and my results are below.
> >
> > -rw-r--r-- 1 root 34K May 7 11:32 CentOS-5.3-i386-bin-1of6.jigdo
>
> Can you mail that file around? The first 50 or so lines would be
> enough. I still seem to have a problem with label and URI generation in the
> .jigdo files.
>
> This is the file I get with the following command (which is missing
> the --uri section):
>
> jigdo-file make-template \
> --image=/home/admin/iso/CentOS-5.3-i386-bin-DVD.iso \
> /local/mirror/linux/centos/5/os/i386/ \
> --label CentOS5-i386=/local/mirror/linux/centos/5/os/i386/ \
> --jigdo=/home/admin/iso/result/CentOS5-i386.jigdo \
> --template=/home/admin/iso/result/CentOS5-i386.template
>
> [Parts]
> GFckbEI56dspBqCKRYqrwA=A:local/mirror/linux/centos/5/os/i386/CentOS/Cluster_Administration-as-IN-5.2-1.el5.centos.noarch.rpm
> 68-TbW5iS6FcKlD_RWzOJQ=A:local/mirror/linux/centos/5/os/i386/CentOS/Cluster_Administration-bn-IN-5.2-1.el5.centos.noarch.rpm
> iqQceDWNEj-0pWNDYajgQw=A:local/mirror/linux/centos/5/os/i386/CentOS/Cluster_Administration-de-DE-5.2-1.el5.centos.noarch.rpm
Using a recent .jigdo file produced by the Fedora Unity folks for a Fedora 10 respin, I constructed two jigdo files for CentOS 5.3, one for each arch... but the could be combined into a single file if desired. The sample I used was:
http://jigdo.fedoraunity.org/templates/20090414/Fedora-Unity-20090414-10.jigdo
You can find the two files I created here:
http://img.cs.montana.edu/linux/centos/5/isos/jigdo/CentOS-5.3-i386.jigdo
http://img.cs.montana.edu/linux/centos/5/isos/jigdo/CentOS-5.3-x86_64.jigdo
Each one has multiple [Image] defs for all of the CDs and the DVD so that you can download one jigdo and then decide what which CD(s) or DVD you want to create.
I just have some questions about some of the things found in the Fedora Unity .jigdo that don't seem to be documented in the jigdo-file man page. For example they have a [Mirrorlists] section and I'm not sure what that is about because they also have a lengthy [Servers] section.
In the two .jigdo files I mention about the URLs for [Server] are static but it would be nice to have a URL that would dynamically rotate between various mirror sites to spread the download across more of the CentOS mirrors... rather than the handful of mirror URLs I put in there... which I'm thinking is what the [Mirrorlists] thing is all about?!?
So far as not getting the jigdo-file command line just perfect... his recipe did work once I discovered the i386 reference that should have been $arch... and altered the rsync --exclude for my different source directory... but to construct my more complex, multiple [Image] .jigdo files I had to cheat and use a text editor. To get all of the parts I simply:
grep '=CentOS:' *i386*.jigdo | sort | uniq > parts-i386.txt
grep '=CentOS:' *x86_64*.jigdo | sort | uniq > parts-x86_64.txt
So far I've really enjoyed learning about jigdo but want to learn more. :)
TYL,
--
Scott Dowdle
704 Church Street
Belgrade, MT 59714
(406)388-0827 [home]
(406)994-3931 [work]
More information about the CentOS-devel
mailing list