From 175e292ec1e298184517889767c55dc1918fb0cd Mon Sep 17 00:00:00 2001 From: Matthew Thode Date: Thu, 18 Feb 2016 10:57:07 -0600 Subject: [PATCH] Add Gentoo to the list of supported distributions We also document any additional package needed. Change-Id: I7b9193fa5711138287f587935fc864fee4f95856 --- doc/source/user_guide/installation.rst | 5 +++-- doc/source/user_guide/supported_distros.rst | 2 ++ elements/gentoo/README.rst | 3 +++ elements/package-installs/README.rst | 2 ++ 4 files changed, 10 insertions(+), 2 deletions(-) diff --git a/doc/source/user_guide/installation.rst b/doc/source/user_guide/installation.rst index 6062b757..169c088d 100644 --- a/doc/source/user_guide/installation.rst +++ b/doc/source/user_guide/installation.rst @@ -17,14 +17,15 @@ Requirements Most image formats require the qemu-img tool which is provided by the qemu-utils package on Ubuntu/Debian or the qemu package on -Fedora/RHEL/opensuse. +Fedora/RHEL/opensuse/Gentoo. Some image formats, such as VHD, may require additional tools. Please see the disk-image-create help output for more information. Individual elements can also have additional dependencies for the build host. It is recommended you check the documentation for each element you are using -to determine if there are any additional dependencies. +to determine if there are any additional dependencies. Of particular note is +the need for the `dev-python/pyyaml` package on Gentoo hosts. Source Installation diff --git a/doc/source/user_guide/supported_distros.rst b/doc/source/user_guide/supported_distros.rst index 49babbee..99030add 100644 --- a/doc/source/user_guide/supported_distros.rst +++ b/doc/source/user_guide/supported_distros.rst @@ -8,6 +8,7 @@ Distributions which are supported as a build host: - Fedora 20, 21, 22 - RHEL 6, 7 - Ubuntu 14.04 ("trusty") +- Gentoo Distributions which are supported as a target for an image: @@ -17,3 +18,4 @@ Distributions which are supported as a target for an image: - Fedora 20, 21, 22 - RHEL 6, 7 - Ubuntu 12.04 ("precise"), 14.04 ("trusty") + - Gentoo diff --git a/elements/gentoo/README.rst b/elements/gentoo/README.rst index 1185f214..b66f635e 100644 --- a/elements/gentoo/README.rst +++ b/elements/gentoo/README.rst @@ -17,6 +17,9 @@ Notes: one will never change content, but will frequently be deleted and replaced by a newer build with a higher version-release number. +* In order to run the package-installs element you will need to make sure + `dev-python/pyyaml` is installed on the host. + * Other profiles can be used by exporting GENTOO_PROFILE with a valid profile. A list of valid profiles follows: diff --git a/elements/package-installs/README.rst b/elements/package-installs/README.rst index 6da3cff7..33fd15c5 100644 --- a/elements/package-installs/README.rst +++ b/elements/package-installs/README.rst @@ -6,6 +6,8 @@ The package-installs element allows for a declarative method of installing and uninstalling packages for an image build. This is done by creating a package-installs.yaml or package-installs.json file in the element directory. +In order to work on Gentoo hosts you will need to manually install +`dev-python/pyyaml`. example package-installs.yaml::