Merge pull request #48 from seemethere/add_temp_support_f27

Adds temporary support for Fedora 27
This commit is contained in:
Eli Uriegas authored and GitHub committed 2017-11-17 07:56:36 -08:00
commit ac9a06235b
2 files changed
+20

No files matched your search

Vendored
+1
View File
@@ -4,6 +4,7 @@ def verifyTargets = [
'x86_64-verify-install-centos-7',
'x86_64-verify-install-fedora-25',
'x86_64-verify-install-fedora-26',
'x86_64-verify-install-fedora-27',
'x86_64-verify-install-debian-wheezy',
'x86_64-verify-install-debian-jessie',
'x86_64-verify-install-debian-stretch',
+19
View File
@@ -35,6 +35,7 @@ x86_64-centos-7
x86_64-fedora-24
x86_64-fedora-25
x86_64-fedora-26
x86_64-fedora-27
x86_64-debian-wheezy
x86_64-debian-jessie
x86_64-debian-stretch
@@ -407,6 +408,24 @@ do_install() {
fi
$sh_c "$pkg_manager install -y -q $pre_reqs"
$sh_c "$config_manager --add-repo $yum_repo"
# DELETE FROM HERE
if [ "$dist_version" -eq "27" ]; then
$sh_c "sed -i 's/\\\$releasever/26/g' /etc/yum.repos.d/docker-ce.repo"
set +x
echo "=================================================================================="
echo
echo "WARNING: Hardcoding repository to use Fedora 26 repositories"
echo " You will need to update your repositories after the release of 17.12.0-ce"
echo
echo " See: https://github.com/docker/for-linux/issues/164#issuecomment-345034887"
echo
echo "=================================================================================="
sleep 10
set -x
fi
# DELETE TO HERE
if [ "$CHANNEL" != "stable" ]; then
$sh_c "$config_manager $enable_channel_flag docker-ce-$CHANNEL"
fi