I use a number of different kernels depending on which class is defined. Put all your kernels in fai/files/packages and make a file MYCLASS.var in fai/class that assigns the variable "kernelimage" to the name of the correct kernel package.
For example, here is my kernel: fai/files/packages/kernel-image-2.4.19-sun4u_ULTRA1.02_sparc.deb fai/class/ULTRA1.var : kernelimage=kernel-image-2.4.19-sun4u_ULTRA1.02_sparc.deb The script fai/scripts/DEFAULT/S01 automatically takes care of installing the kernel, you just have to put your kernel in the right place and let FAI know what its name is. I hope this helps. Austin On Tue, 17 Sep 2002, Michael Renner wrote: > Moin, > I need to have several kernels on my maschines, the users may have the > possibility to choose one of them. > But when I put the name of a kernelpackage to ... lets say > fai/disk_config/MY_CLASS the non interactiv installation fails due there is > no $target/etc/lilo.conf and no /vmlinuz at this moment. The kernel which is > installed by FAI is installed as one as the last things, also the lilo.conf > is generated as one on the latest steps. > > Any ideas beside to create a kernelpackage without the postinst and preinst > scripts? > Thanks > -- > > |Michael Renner E-mail: [EMAIL PROTECTED] | > |D-72072 Tuebingen Germany | > |Germany Don't drink as root! ESC:wq > >
