e433aebf7d
This patch adds a new environment variable to the ubuntu-minimal element called DIB_UBUNTU_KERNEL that allows you to specify the kernel meta package that will be using to install the kernel inside the image. It supports "linux-image-generic" (The default), "linux-image-kvm", and "linux-image-virtual". This allows building images that are smaller in size (~200MB smaller qcow2) that have only the kernel modules necessary for virtual machines. Change-Id: I8ce65e1d357d15e8ed8995ad1dcaea02bbd1986f
16 lines
552 B
YAML
16 lines
552 B
YAML
linux-image-generic:
|
|
not-arch: arm64
|
|
when: DIB_UBUNTU_KERNEL = linux-image-generic
|
|
linux-image-kvm:
|
|
not-arch: arm64
|
|
when: DIB_UBUNTU_KERNEL = linux-image-kvm
|
|
linux-image-virtual:
|
|
not-arch: arm64
|
|
when: DIB_UBUNTU_KERNEL = linux-image-virtual
|
|
# TODO(ianw): this is Xenial specific, for now. This kernel works
|
|
# much better, however, including better support for cdrom's for
|
|
# config-drive. We'll need to filter this further for future
|
|
# releases; maybe add a $DIB_RELEASE filter too?
|
|
linux-generic-hwe-16.04:
|
|
arch: arm64
|
|
initramfs-tools:
|