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
> 'pool/main/l/linux-latest-2.6/linux-image-2.6-486_<version>.deb'
> package.
> I'd like to make it pull another package, maybe
> 'pool/main/l/linux-latest-2.6-etchnhalf/linux-image-2.6-486-etchnhalf_<version>.deb'.
see /usr/share/simple-cdd/profiles/vserver.* for an example of how to do it.
try:
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:
build-simple-cdd --help
most commandline options are configuration variables that can be put in
profiles/*.conf, substituting - for _ (--kernel-packages commandline is
kernel_packages configuration option).
live well,
vagrant
Reply to: