[Fedora-livecd-list] [PATCH] Make use of "url" methods as a repo to get packages from

Jesse Keating jkeating at redhat.com
Thu Sep 13 02:20:45 UTC 2007


On Wed, 12 Sep 2007 20:50:32 -0500
Douglas McClendon <dmc.fedora at filteredperception.org> wrote:

> Dumb question- What does this actually do?  (e.g. an e.g.)

Sorry, so, in a kickstart file you want to actually use to install
something you have to define a method, that is a location to find the
packages, or find stage2 if you started with boot.iso or pxe boot or
something like that.  This is akin to the boot time argument
"method=<something>".  One such method is "url" which can be http/ftp.
Since this is a popular network install method, and since installs
generate a kickstart file from the install, it would be handy to be
able to take that kickstart file and shove it directly into either
livecd-tools or pungi.  Instead of adding a repo line and duplicating
some information, the kickstart parsing code should be able to take
that url definition and turn it into a repo to be used later.  Since
this only really makes sense in compose tools, but we want the code to
do this to be in a shared location, pykickstart grew a method to turn
the url method into a repo and add it to the repo list.  If your method
was anything but url, pykickstart will raise a generic error, which is
why I just have an empty except:pass.

-- 
Jesse Keating
Fedora -- All my bits are free, are yours?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-livecd-list/attachments/20070912/fdde62ce/attachment.sig>


More information about the Fedora-livecd-list mailing list