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
617 B
Bash
16 lines
617 B
Bash
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
# implied.
|
|
#
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
export DIB_UBUNTU_KERNEL=${DIB_UBUNTU_KERNEL:-"linux-image-generic"}
|