This patch contains the known set of changes needed to make a gentoo image build successfully. - Standardize use of GENTOO_EMERGE_DEFAULT_OPTS, reduce duplication of options set there. - Correct the cleanup commands to reflect standard Gentoo good practices by omitting --complete-graph, which is unneeded with --deep, and using --changed-use instead of --newuse to reduce unneeded package churn. - Stop using deprecated layman command to manage reposiotry overlays, instead use new supported eselect-repository - Set new USE flags required for LVM and installkernel. This was communicated via a Gentoo news item and is a required cleanup. - Remove now-invalid skip of gpg if using musl This is the set of changes needed to get the CI job passing and make DIB build images at all, and we'd like to land them, but there are still items we'd like to complete to enhance Gentoo support in DIB: - Optional, built-in support for Gentoo binhosts -- where you can set a DIB_GENTOO_BINHOST=true (or similar) and have the binhost enabled by default. - Make the default configuration of EMERGE_DEFAULT_OPTS more easily managed in a DIB-style manner, e.g. setting --quiet vs --verbose based on the value of DIB_DEBUG_TRACE. Signed-Off-By: Jay Faulkner <jay@jvf.cc> Signed-Off-By: Sam James <sam@gentoo.org> Co-Authored-By: Sam James <sam@gentoo.org> Change-Id: Idab82a9fa986fcc56fe4e1e1bf0445c7306b2858
Image building tools for OpenStack
diskimage-builder is a flexible suite of components for
building a wide-range of disk images, filesystem images and ramdisk
images for use with OpenStack.
This repository has the core functionality for building such images, both virtual and bare metal. Images are composed using elements; while fundamental elements are provided here, individual projects have the flexibility to customise the image build with their own elements.
For example:
$ DIB_RELEASE=bionic disk-image-create -o ubuntu-bionic.qcow2 vm ubuntu
will create a bootable Ubuntu Bionic based qcow2
image.
diskimage-builder is useful to anyone looking to produce
customised images for deployment into clouds. These tools are the
components of TripleO that are
responsible for building disk images. They are also used extensively to
build images for testing OpenStack itself, particularly with nodepool.
Platforms supported include Ubuntu, CentOS, RHEL and Fedora.
Full documentation, the source of which is in
doc/source/, is published at:
Copyright
Copyright 2012 Hewlett-Packard Development Company, L.P. Copyright (c) 2012 NTT DOCOMO, INC.
All Rights Reserved.
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
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.