← Back to team overview

vmbuilder team mailing list archive

Re: Building Images with Specific Kernel

 

On Wed, 5 Jan 2011, Amol Jadhav wrote:

> >
> > You really should probably change the software installation script to not
> > fail to install if /proc/modules doesn't have what it wants.
>
> Does that mean the image that gets created will have the kernel that
> my software is looking for? Even if it is not available while building

Well, when it boots, if you've done things right you'll use your kernel.

You mentioned:
  "This kernel is also available through apt-get so I can install it in my
  post-installation script."

so I assumed that you would add that package.

> the image? Does providing appropriate AKI while starting the instance
> will always gimme the kernel with the modules I want?

No, you need to use pv-grub and then grub will load your kernel assuming
that it has the right configuration.

I would suggest using the uec seed, and also getting grub-legacy-ec2
package.

Scott



References