summaryrefslogtreecommitdiff
path: root/usr.sbin/freebsd-update
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2019-01-24 18:51:15 +0000
committerEd Maste <emaste@FreeBSD.org>2019-01-24 18:51:15 +0000
commit9e8c28fcc079a9584516eea04b8cbc42a85e585d (patch)
tree8a9831231f1ec5c8c5a2b74d6605b1d4bafa0369 /usr.sbin/freebsd-update
parented1b6cec4fb0182064b6188e335b32cb77805218 (diff)
downloadsrc-test-9e8c28fcc079a9584516eea04b8cbc42a85e585d.tar.gz
src-test-9e8c28fcc079a9584516eea04b8cbc42a85e585d.zip
freebsd-update: Clarify unsupported upgrade message
PR: 204115 Submitted by: Gerald Aryeetey <aryeeteygerald_rogers.com> Reviewed by: delphij MFC after: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D18916
Notes
Notes: svn path=/head/; revision=343411
Diffstat (limited to 'usr.sbin/freebsd-update')
-rw-r--r--usr.sbin/freebsd-update/freebsd-update.sh11
1 files changed, 10 insertions, 1 deletions
diff --git a/usr.sbin/freebsd-update/freebsd-update.sh b/usr.sbin/freebsd-update/freebsd-update.sh
index 0feff496cb0b6..c5d1b839e9cf4 100644
--- a/usr.sbin/freebsd-update/freebsd-update.sh
+++ b/usr.sbin/freebsd-update/freebsd-update.sh
@@ -1022,7 +1022,16 @@ fetch_pick_server () {
# Have we run out of mirrors?
if [ `wc -l < serverlist` -eq 0 ]; then
- echo "No mirrors remaining, giving up."
+ cat <<- EOF
+ No mirrors remaining, giving up.
+
+ This may be because upgrading from this platform (${ARCH})
+ or release (${RELNUM}) is unsupported by `basename $0`. Only
+ platforms with Tier 1 support can be upgraded by `basename $0`.
+ See https://www.freebsd.org/platforms/index.html for more info.
+
+ If unsupported, FreeBSD must be upgraded by source.
+ EOF
return 1
fi