From 6f00f00be7c54e6c9b3937faef3467cd29a43ada Mon Sep 17 00:00:00 2001 From: zador-blood-stained Date: Sat, 4 Nov 2017 20:21:58 +0300 Subject: [PATCH] Add a warning message for Ubuntu Trusty host support EOL --- lib/general.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/general.sh b/lib/general.sh index 57e706ad1c..e155fc05e4 100644 --- a/lib/general.sh +++ b/lib/general.sh @@ -489,6 +489,13 @@ prepare_host() exit_with_error "It seems you ignore documentation and run an unsupported build system: ${codename:-(unknown)}" fi + if [[ $codename == trusty ]]; then + display_alert "Note: Ubuntu Trusty environment support will be removed before the end of 2017" "" "wrn" + display_alert "Please upgrade your compilation environment to Ubuntu Xenial" "" "wrn" + display_alert "Press to continue" + read + fi + if [[ $codename == xenial ]]; then hostdeps="$hostdeps systemd-container udev distcc \ lib32stdc++6 libc6-i386 lib32ncurses5 lib32tinfo5 aptly"