[Fedora-livecd-list] fc7 revisor re-spinned install CD failed to install 3rd party packages
jie sun
jiesun66 at yahoo.com
Thu Apr 17 15:11:09 UTC 2008
Hi,
I just tried to modify /usr/share/revisor/comps/comps.xml file and run GUI revisor. But after I burnt the iso into CD, I found the comps.xml file on CD is always the same as before. My changed comps.xml is not on CD.
That may explain why I can not change the installed packages during installation.
So I wonder how I can modify the comps.xml on my install CD?
Regards,
Jie
Jeroen van Meeuwen <kanarip at kanarip.com> wrote: jie sun wrote:
> Hi,
> I did not change comps but I used kickstart file to include my rpms
> and all my packages gets included on the CD. The problem is after
> installation with the CD, non of my packages get installed. Seems only
> fedora packages gets installed.
>
Packages that are not selected during the installation dialog are not
going to be installed, no matter if they are available on the media you
are installing from, or not.
You can select packages using the Package Selection dialog anaconda has
in both text and graphical install, where it finds the categories and
groups it displays in a file called comps.xml. This comps.xml is
included with every third party repository available to you on the net,
but is often lacking in private repositories (you know, those with all
kinds of custom RPMs). It is this comps.xml file though you will need to
create yourself and add to the repository, or edit an existing comps
file to include the packages you add to the mix. Revisor has a
--revisor-comps and includes stock Fedora comps files in the
revisor-comps sub-package, just for that particular reason. If you edit
one of those, and specify --revisor-comps /path/to/edited/comps, Revisor
will include that comps file (instead of the aggregated form of all
comps files available from all repositories specified). Mind that
although it might prove very useful, it might as well as break things -a
faulty comps might not only cause the compose to fail, but will
definitely cause the installation to fail.
Or, you choose (select to install) the packages using a kickstart file
during the installation (something different from using the kickstart
file with Revisor during the compose of the media). Then, anaconda (the
installation program) will select the packages you specify in the
kickstart for installation (what you have done until now is tell Revisor
to include the packages for the compose), all that without regards to
any comps.xml file.
Now, you can include such a kickstart on the media, and as such you
seamlessly, secretly, pre-select packages while allowing the user to
interactively select/deselect packages in anaconda's package selection
dialog.
Create/modify a kickstart such as the one you have now, and make it say:
"interactive"
You would want as few as possible other settings if you want it to be as
seamless as possible, but you can provide other answers to anaconda's
questions as well (root password, timezone, language, etc).
Then, when you have that kickstart file, you create installation media
specifying the following options (or click the appropriate check-boxes
in the GUI):
--kickstart /path/to/kickstart
--kickstart-include
which includes the kickstart file on the CD, DVD, or in the tree
--kickstart-default
which sets the bootloader menu entries to use the kickstart file
during installation
I hope this helps,
Kind regards,
Jeroen van Meeuwen
-kanarip
> Regards,
> Jie
>
> */Jeroen van Meeuwen /* wrote:
>
> jie sun wrote:
> > Hi,
> > I tried to re-spin fc7 with revisor and add some 3rd party
> packages. I
> > run revisor successfully with new repo and burnt the iso file to
> a CD. I
> > can see the 3rd party packages are on the CD package list. But after
> > install with the CD, non of the 3rd party packages gets
> installed. Only
> > fedora existing packages gets installed.
> >
> > Did I missed something while running revisor? Does anybody know how
> > to install 3rd party packages with revisor?
> >
>
> Did you see the third party packages appear in the Package Selection
> dialog in the graphical installation? The third party repository would
> need a comps ("Groups" file) to enable anaconda to display the groups
> and packages in the package selection dialog. If not, you are not able
> to select them in any other way then using a kickstart (sample):
>
> interactive
>
> %packages
> some-third-party-repo-package
> %end
>
> This will select the package, but will still enable you to use the
> package selection dialog to select other packages as well.
>
> Kind regards,
>
> Jeroen van Meeuwen
> -kanarip
>
> --
> Fedora-livecd-list mailing list
> Fedora-livecd-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-livecd-list
>
>
> ------------------------------------------------------------------------
> Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try
> it now.
>
> >
>
>
> ------------------------------------------------------------------------
>
> --
> Fedora-livecd-list mailing list
> Fedora-livecd-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-livecd-list
--
Fedora-livecd-list mailing list
Fedora-livecd-list at redhat.com
https://www.redhat.com/mailman/listinfo/fedora-livecd-list
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-livecd-list/attachments/20080417/878f6e04/attachment.htm>
More information about the Fedora-livecd-list
mailing list