From 490cf3aa493e00a67c3632918733b9046a8a207d Mon Sep 17 00:00:00 2001 From: Tim Flink Date: Tue, 23 Jan 2018 11:41:36 +0100 Subject: [PATCH] Add support for Fedora 27, remove EOL Fedora 25 This updates diskimage-builder to support current Fedora releases (26 and 27) and removes support for Fedora 25 which is EOL as of December 12, 2017. Change-Id: I227a607c6c468cc8b7bb154a189e9c8ce2021192 --- .../fedora/environment.d/10-fedora-distro-name.bash | 8 ++++---- doc/source/user_guide/supported_distros.rst | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/diskimage_builder/elements/fedora/environment.d/10-fedora-distro-name.bash b/diskimage_builder/elements/fedora/environment.d/10-fedora-distro-name.bash index b9a87ac1c..37434eafa 100644 --- a/diskimage_builder/elements/fedora/environment.d/10-fedora-distro-name.bash +++ b/diskimage_builder/elements/fedora/environment.d/10-fedora-distro-name.bash @@ -1,5 +1,5 @@ export DISTRO_NAME=fedora -export DIB_RELEASE=${DIB_RELEASE:-26} +export DIB_RELEASE=${DIB_RELEASE:-27} # Note the filename URL has a "sub-release" in it # http:// ... Fedora-Cloud-Base-25-1.3.x86_64.qcow2 @@ -11,10 +11,10 @@ export DIB_RELEASE=${DIB_RELEASE:-26} # # [1] https://lists.fedoraproject.org/archives/list/cloud@lists.fedoraproject.org/thread/2WFO2FKIGUQYRQXIR35UVJGRHF7LQENJ/ -if [[ ${DIB_RELEASE} == '25' ]]; then - export DIB_FEDORA_SUBRELEASE=1.3 -elif [[ ${DIB_RELEASE} == '26' ]]; then +if [[ ${DIB_RELEASE} == '26' ]]; then export DIB_FEDORA_SUBRELEASE=1.5 +elif [[ ${DIB_RELEASE} == '27' ]]; then + export DIB_FEDORA_SUBRELEASE=1.6 else echo "Unsupported Fedora release" exit 1 diff --git a/doc/source/user_guide/supported_distros.rst b/doc/source/user_guide/supported_distros.rst index 8fd7ed8fd..2c5d2873c 100644 --- a/doc/source/user_guide/supported_distros.rst +++ b/doc/source/user_guide/supported_distros.rst @@ -5,7 +5,7 @@ Distributions which are supported as a build host: - Centos 6, 7 - Debian 8 ("jessie") -- Fedora 20, 21, 22 +- Fedora 26, 27 - RHEL 6, 7 - Ubuntu 14.04 ("trusty") - Gentoo @@ -16,7 +16,7 @@ Distributions which are supported as a target for an image: - Centos 6, 7 - Debian 8 ("jessie") -- Fedora 20, 21, 22 +- Fedora 26, 27 - RHEL 6, 7 - Ubuntu 12.04 ("precise"), 14.04 ("trusty") - Gentoo