Auto Install for Mandrake Linux
Prev Next

default_packages

This option is used to explicitly specify which packages are to be installed. It is simply a list of package names. For an example, see the file 'auto_inst.cfg.pl' that was placed in your /root/drakx after a graphic install. The general form is as follows:

'default_packages' => [


'<package-name>',

'<package-name>'

],

Descriptions:

'<package-name>', - name of the package to be installed, not including the version, release, architecture and filename extension. eg. if the package file name is acon-1.0.4-5mdk.i586.rpm then use 'acon',.

If you are not sure of the name for the package you want installed, then use the following:

rpm -qp --queryformat %{NAME} <filename of package>

This will give you the name that the install is expecting.

After viewing the contents of the auto_inst.cfg or auto_inst.cfg.pl files, you may have noticed that the list does not contain all the packages that are installed in a system (rpm -qa | sort). This because a new approach is being used in an attempt to reduce the size of the files on the diskette. Basically, this means that packages 'required' by the listed ones are not included in the list.

NOTE: All packages must be in either the RPMS, RPMS2 or, RPMS3 directories. If you have added one, then see the section Creating an Updated Installation CD Set.

Examples:

The following is a simple example to illustrate the use of this option.

'default_packages' => [


'fonts-ttf-west_european',

'strace',

'gurpmi',

'reiserfsprogs',

'kudzu',

'linux_logo',

'bc',

'fonts-ttf-decoratives',

'at',

'MAKEDEV',

'iputils',

'imwheel',

'rpmdrake',

'locales-en',

'sndconfig',

'rxvt',

'numlock',

'nfs-utils-clients',

'man-pages',

'open',

'ldetect',

'XFree86-server',

'hexedit',

'ftp',

'anacron',

'DrakConf',

'XFree86-75dpi-fonts',

'icewm-light'

],

Related Option Entries:

compssUsersChoice, compssListLevel, excludedocs






PrevHome Next
compssUsersChoice   desktop