RedHat/base/comps a hdlist
Petr Mosnicka
Petr.Mosnicka na EUnet.cz
Čtvrtek Srpen 13 16:56:43 CEST 1998
Stejny problem jsem mel nedavno taky, tak jsem se zeptal jednoho guru:
> How do I generate the comps file in RedHat 5.1?
The comps file is just a text file, you edit it with a text editor.
The file has a 0 on the first line, it is a version number for the
file format.
This is followed by a blank line and a number of components.
The format of a component is a line containing a 0 or 1, followed by a
space, followed by the component name. Following this line is a list
of packages, one per line, with the last line containing the single
word "end".
The 0 or 1 tells if the component is selected by default.
The component named "Base" is special, and doesn't show up in the list
(but it is automatically installed).
All packages, even the ones that are not in any components, show up in
the "Select Individual Packages" screen.
(Also, if a line begins with "#" it is considered a comment.)
For example, if you want to add Gnome to the Red Hat install, you can
add the following lines to the comps file. (You have to copy the
packages to the "RPMS" directory too.)
# Gnome components
1 Gnome
bezerk
gmc
gmp
gnome-admin
gnome-core
gnome-graphics
gnome-guile
gnome-imglib
gnome-media
gnome-network
gnome-objc
gnome-rh5.1-release-notes
gnome-utils
gtk+
guile
imlib
mc
mcserv
mico
xscreensaver
end
0 Gnome Development Files
gnome-core-devel
gnome-games-devel
gnome-guile-devel
gnome-objc-devel
gtk+-devel
guile-devel
imlib-devel
mico-devel
end
# end of Gnome components
Steve
dunham na cps.msu.edu
Další informace o konferenci Linux