Re: Making simple-cdd pull another kernel from repository
On Wed, Mar 04, 2009 at 11:59:17AM -0300, Lucas Brasilino wrote:
> First of all, I'm using simple-cdd from lenny to create etch images.
> I'm looking around how can I make simple-cdd pull another kernel
> version (etchnhalf) from repository. I've
> already tested some way through preseeding, etc, with no success.
> If I put the newer kernel in local-packages, the image installs both
> kernels (2.6.18 and the newer one), which
> is undesirable.
> As I can see, simple-cdd pulls
> I'd like to make it pull another package, maybe
see /usr/share/simple-cdd/profiles/vserver.* for an example of how to do it.
echo linux-image-2.6-486-etchnhalf >> profiles/MYPROFILE.downloads
echo kernel_packages=linux-image-2.6-486-etchnhalf >> profiles/MYPROFILE.conf
echo base-installer base-installer/kernel/image select linux-image-2.6-486-etchnhalf >> profiles/MYPROFILE.preseed
i'm not sure if that preseed line works with etch; preseeding kernels was
broken for the etch debian-installer.
there's also the --kernel-packages commandline option, which is the same as
putting kernel_packages in a profiles/*.conf file.
for a list of commandline options, try:
most commandline options are configuration variables that can be put in
profiles/*.conf, substituting - for _ (--kernel-packages commandline is
kernel_packages configuration option).